fixed doc string

This commit is contained in:
Boegie19 2023-06-30 15:01:23 +02:00
parent 48c91ef286
commit 459f50452f

View File

@ -81,12 +81,12 @@ const assignValidLocale = async (data) => {
const decorator = (service) => ({ const decorator = (service) => ({
/** /**
* Wraps result * Wraps result
* @param {object} params - Query options object (params, data, files, populate) * @param {object} result - result object of query
* @param {object} ctx - Query context * @param {object} ctx - Query context
* @param {object} ctx.model - Model that is being used * @param {object} ctx.model - Model that is being used
*/ */
async wrapResult(params = {}, ctx = {}) { async wrapResult(result = {}, ctx = {}) {
return service.wrapResult.call(this, params, ctx); return service.wrapResult.call(this, result, ctx);
}, },