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

fix: return 201 instead of 200 on price (& proof) create #66

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Nov 23, 2023

What

The default return was a 200.
But we create objects (POST /prices & POST /proofs) so we should return a 201.

@raphodn raphodn self-assigned this Nov 23, 2023
@raphodn raphodn merged commit af543cf into main Nov 23, 2023
5 checks passed
@raphodn raphodn deleted the raphodn/api-create-201 branch November 23, 2023 22:49
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.

1 participant