We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In most cases right now I'm using something like
res.status(200); res.json({ ... });
but I think that could be simplified by making status: 200 the default, which is currently set to null according to the logging.
status: 200
null
Is there any reason why 200 should not be the default?
The text was updated successfully, but these errors were encountered:
Seems reasonable, we'll make the change.
Sorry, something went wrong.
feat(core): Default Response status code to 200
Response
f42a281
Resolved #6.
No branches or pull requests
In most cases right now I'm using something like
but I think that could be simplified by making
status: 200
the default, which is currently set tonull
according to the logging.Is there any reason why 200 should not be the default?
The text was updated successfully, but these errors were encountered: