mirror of
https://github.com/strapi/strapi.git
synced 2025-12-05 19:42:05 +00:00
fix opts being defiend
This commit is contained in:
parent
2598bec778
commit
d73059185f
@ -75,7 +75,7 @@ const createDefaultImplementation = ({ strapi, db, eventHub, entityValidator })
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
async findMany(uid, opts) {
|
async findMany(uid, opts = {}) {
|
||||||
const { kind } = strapi.getModel(uid);
|
const { kind } = strapi.getModel(uid);
|
||||||
|
|
||||||
const wrappedParams = await this.wrapParams(opts, { uid, action: 'findMany' });
|
const wrappedParams = await this.wrapParams(opts, { uid, action: 'findMany' });
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user