Skip to content

Conversation

@bastien-pruvost
Copy link
Contributor

What does it do?

Update documentation : In middleware config codes examples.

Replace objects by array in module.exports

Why is it needed?

Because there is a comma at the end of the first child object and we can put other middleware in the array.

Related issue(s)/PR(s)

...

Replace objects by array in module.exports, because there is a comma at the end of the first child object and we can put other middleware in the array.
@strapi-cla
Copy link

strapi-cla commented Oct 26, 2022

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Oct 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
documentation ✅ Ready (Inspect) Visit Preview Oct 26, 2022 at 1:59PM (UTC)

Copy link
Contributor

@stb13579 stb13579 left a comment

Choose a reason for hiding this comment

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

@bastien-pruvost LGTM! Thanks for fixing this error.

@stb13579 stb13579 added source: Dev Docs PRs/issues targeting the Developer Docs target: v4 Documentation PRs/issues targeting content from docs.strapi.io (main branch). size: medium If the PR includes 1+ file(s) with a total of 10 to 50 lines of text or <100 lines of code pr: code fix PRs only fixing existing code examples labels Nov 2, 2022
@stb13579 stb13579 added this to the 4.4.6 milestone Nov 2, 2022
@stb13579 stb13579 merged commit ec767e3 into strapi:main Nov 2, 2022
@strapi-bot
Copy link

This pull request has been mentioned on Strapi Community Forum. There might be relevant details there:

https://forum.strapi.io/t/new-documentation-release-strapi-v4-4-6/23288/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: code fix PRs only fixing existing code examples size: medium If the PR includes 1+ file(s) with a total of 10 to 50 lines of text or <100 lines of code source: Dev Docs PRs/issues targeting the Developer Docs target: v4 Documentation PRs/issues targeting content from docs.strapi.io (main branch).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants