This commit is contained in:
David Arranz 2019-08-18 17:22:13 +02:00
parent a60ced94dc
commit b943d74ea3

View File

@ -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)
},