.
This commit is contained in:
parent
a60ced94dc
commit
b943d74ea3
@ -214,7 +214,6 @@ const generateService = (model, extraMethods = {}, options = defaultOptions) =>
|
||||
if (extraMethods.beforeUpdate) {
|
||||
values = extraMethods.beforeUpdate(values, findOptions, context);
|
||||
}
|
||||
console.log(context);
|
||||
return await model.scope(context.scopes).update(values, findOptions)
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user