diff --git a/docusaurus/docs/dev-docs/backend-customization/controllers.md b/docusaurus/docs/dev-docs/backend-customization/controllers.md index 76cde9483a..23c92a181b 100644 --- a/docusaurus/docs/dev-docs/backend-customization/controllers.md +++ b/docusaurus/docs/dev-docs/backend-customization/controllers.md @@ -320,7 +320,7 @@ export default { const entities = await strapi.entityService.findMany(contentType.uid, sanitizedQueryParams); - return await contentAPI.output(entities, contentType, { auth: ctx.state.auth }); + return await sanitize.contentAPI.output(entities, contentType, { auth: ctx.state.auth }); } } ```