strapi-layout-plugin 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-layout-plugin",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Strapi layout engine plugin for Sitecore-like routing",
5
5
  "strapi": {
6
6
  "name": "strapi-layout-plugin",
@@ -257,7 +257,7 @@ module.exports = ({ strapi }) => ({
257
257
  return ctx.notFound('Page/Article not found');
258
258
  }
259
259
 
260
- const globalLayout = await strapi.entityService.findMany('api::layout.layout', {
260
+ const globalLayout = await strapi.entityService.findMany('plugin::strapi-layout-plugin.layout', {
261
261
  locale: requestedLocale,
262
262
  populate: {
263
263
  defaultSeo: { populate: '*' },