Merge pull request #1404 from strapi/fix-array-type

Fix Array type mongoose
This commit is contained in:
Jim LAURIE 2018-06-18 12:48:47 +02:00 committed by GitHub
commit a5cd0e49b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ module.exports = mongoose => {
convertType: mongooseType => {
switch (mongooseType.toLowerCase()) {
case 'array':
return 'Array';
return Array;
case 'boolean':
return 'Boolean';
case 'binary':