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

Replace reply.res.statusCode with reply.statusCode #3

Merged
merged 2 commits into from
May 7, 2021

Conversation

kmai
Copy link
Contributor

@kmai kmai commented Apr 22, 2021

Fixes #2

See the Fastify V3 Migration Guide and the actual PR that implemented the change: fastify/fastify#2008

Copy link
Owner

@maumercado maumercado left a comment

Choose a reason for hiding this comment

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

Thanks for the pull request, great find!

I made a small change according to the fastify v3 migration docs and the deprecation message seeing in the console. Feel free to review my suggestion and make the proper changes.

I'll merge after!

Thanks and great job! 👍

index.js Outdated Show resolved Hide resolved
@kmai kmai requested a review from maumercado May 7, 2021 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using reply.res results in a FastifyDeprecation message
2 participants