Skip to content

Use statusCode in errorResponseBuilder example#359

Merged
gurgunday merged 1 commit intofastify:masterfrom
Szymx95:master
Jan 26, 2024
Merged

Use statusCode in errorResponseBuilder example#359
gurgunday merged 1 commit intofastify:masterfrom
Szymx95:master

Conversation

@Szymx95
Copy link
Copy Markdown
Contributor

@Szymx95 Szymx95 commented Jan 26, 2024

Using code: in errorResponseBuilder results in a statusCode of a response to be 500. I believe it should be changed to statusCode: in example.

Checklist

@gurgunday gurgunday merged commit 6270f1f into fastify:master Jan 26, 2024
@gurgunday
Copy link
Copy Markdown
Member

Thanks!

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.

2 participants