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
On this part of the code
if (schemaValidationErrors) { res.status(400).end(schemaValidationErrors); return; }
It return the errors as "application/text"
I think changing to this:
if (schemaValidationErrors) { return res.status(400).json(schemaValidationErrors); }
should fix that
The text was updated successfully, but these errors were encountered:
I was able to make it work using "pnpm patch" command. If you use npm, you can try "patch-package"
I changed from "JSON.stringify({ errors })" to only "({ errors })"
And the res.status.json part also
Sorry, something went wrong.
No branches or pull requests
On this part of the code
It return the errors as "application/text"
I think changing to this:
should fix that
The text was updated successfully, but these errors were encountered: