Skip to content

Commit

Permalink
Fix code example for TS in controllers.md (#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
far4599 authored Dec 4, 2023
1 parent 3cd2ac3 commit 2824c18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
}
```
Expand Down

1 comment on commit 2824c18

@vercel
Copy link

@vercel vercel bot commented on 2824c18 Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

documentation – ./

documentation-strapijs.vercel.app
docs-vercel-v4.strapi.io
documentation-git-main-strapijs.vercel.app

Please sign in to comment.