mirror of
https://github.com/strapi/strapi.git
synced 2025-11-08 14:19:40 +00:00
fixed doc string
This commit is contained in:
parent
48c91ef286
commit
459f50452f
@ -81,12 +81,12 @@ const assignValidLocale = async (data) => {
|
||||
const decorator = (service) => ({
|
||||
/**
|
||||
* 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.model - Model that is being used
|
||||
*/
|
||||
async wrapResult(params = {}, ctx = {}) {
|
||||
return service.wrapResult.call(this, params, ctx);
|
||||
async wrapResult(result = {}, ctx = {}) {
|
||||
return service.wrapResult.call(this, result, ctx);
|
||||
},
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user