From 12706a8955e7a69e5264c9027fb5c24b42c48f97 Mon Sep 17 00:00:00 2001 From: Jim LAURIE Date: Sun, 17 Jun 2018 13:24:13 +0200 Subject: [PATCH] Fix Array type mongoose fix #1169 --- packages/strapi-mongoose/lib/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/strapi-mongoose/lib/utils/index.js b/packages/strapi-mongoose/lib/utils/index.js index 4661cdaa68..f36bf888ad 100755 --- a/packages/strapi-mongoose/lib/utils/index.js +++ b/packages/strapi-mongoose/lib/utils/index.js @@ -11,7 +11,7 @@ module.exports = mongoose => { convertType: mongooseType => { switch (mongooseType.toLowerCase()) { case 'array': - return 'Array'; + return Array; case 'boolean': return 'Boolean'; case 'binary':