Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect example in default text parser docs #4446

Closed
jsumners opened this issue Nov 29, 2022 · 1 comment
Closed

Incorrect example in default text parser docs #4446

jsumners opened this issue Nov 29, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@jsumners
Copy link
Member

fastify.addContentTypeParser('text/json', { asString: true }, fastify.defaultTextParser())

This is incorrect. It should be fastify.defaultTextParser not fastify.defaultTextParser().

@jsumners jsumners added the good first issue Good for newcomers label Nov 29, 2022
@climba03003 climba03003 added the documentation Improvements or additions to documentation label Nov 29, 2022
@SaumyaBhushan
Copy link
Contributor

Hi @climba03003 I would like to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants