From 09ae14bc2e45da3e1dce5841bf11d2e823e9af51 Mon Sep 17 00:00:00 2001 From: hhh Date: Mon, 26 Nov 2018 16:10:13 +0100 Subject: [PATCH] Update packages/strapi-plugin-content-manager/config/functions/bootstrap.js Co-Authored-By: soupette --- .../strapi-plugin-content-manager/config/functions/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/strapi-plugin-content-manager/config/functions/bootstrap.js b/packages/strapi-plugin-content-manager/config/functions/bootstrap.js index 554f6a77a9..ded8611da9 100644 --- a/packages/strapi-plugin-content-manager/config/functions/bootstrap.js +++ b/packages/strapi-plugin-content-manager/config/functions/bootstrap.js @@ -53,7 +53,7 @@ module.exports = async cb => { }, {}); // Reference all current models const appModels = Object.keys(pluginsModel).reduce((acc, curr) => { - const models = Object.keys(_.get(pluginModels, [curr, 'models'], {})); + const models = Object.keys(_.get(pluginsModel, [curr, 'models'], {})); return acc.concat(models); }, Object.keys(strapi.models).filter(m => m !== 'core_store'));