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'));