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

500 on /api/v1/debitscredits if id is not int #58

Open
sebastienbarbier opened this issue Dec 6, 2022 · 0 comments
Open

500 on /api/v1/debitscredits if id is not int #58

sebastienbarbier opened this issue Dec 6, 2022 · 0 comments

Comments

@sebastienbarbier
Copy link
Owner

Current backend crash on POST request using /api/v1/debitscredits as id is expected to be an integer but might be received as string by a wrong request.

It is expected to return 401 bad request instead of 500.

Related to a front end bug : sebastienbarbier/seven23#71

@sebastienbarbier sebastienbarbier self-assigned this Dec 6, 2022
@sebastienbarbier sebastienbarbier removed their assignment Nov 16, 2023
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

No branches or pull requests

1 participant