mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
Merge pull request #1404 from strapi/fix-array-type
Fix Array type mongoose
This commit is contained in:
commit
a5cd0e49b3
@ -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