mirror of
https://github.com/strapi/strapi.git
synced 2025-09-03 05:39:36 +00:00
removed default opts
This commit is contained in:
parent
7821baed76
commit
bd7df454c9
@ -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' });
|
||||
|
@ -155,7 +155,7 @@ const decorator = (service) => ({
|
||||
* @param {string} uid - Model uid
|
||||
* @param {object} opts - Query options object (params, data, files, populate)
|
||||
*/
|
||||
async findMany(uid, opts = {}) {
|
||||
async findMany(uid, opts) {
|
||||
const model = strapi.getModel(uid);
|
||||
|
||||
const { isLocalizedContentType } = getService('content-types');
|
||||
|
Loading…
x
Reference in New Issue
Block a user