diff --git a/packages/core/strapi/lib/services/entity-service/index.js b/packages/core/strapi/lib/services/entity-service/index.js index 5567ff60b9..c6997c1872 100644 --- a/packages/core/strapi/lib/services/entity-service/index.js +++ b/packages/core/strapi/lib/services/entity-service/index.js @@ -75,7 +75,7 @@ const createDefaultImplementation = ({ strapi, db, eventHub, entityValidator }) }); }, - async findMany(uid, opts) { + async findMany(uid, opts = {}) { const { kind } = strapi.getModel(uid); const wrappedParams = await this.wrapParams(opts, { uid, action: 'findMany' });