mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Fix Array type mongoose fix #1169
This commit is contained in:
parent
1651a31ab1
commit
12706a8955
@ -11,7 +11,7 @@ module.exports = mongoose => {
|
||||
convertType: mongooseType => {
|
||||
switch (mongooseType.toLowerCase()) {
|
||||
case 'array':
|
||||
return 'Array';
|
||||
return Array;
|
||||
case 'boolean':
|
||||
return 'Boolean';
|
||||
case 'binary':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user