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

feat(API): on Location POST, return existing if duplicate #554

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Nov 8, 2024

What

Following #446

Users can create a Location via the API.
But if the location already exist, we prefer to return the existing object (with a 200), instead of an error.

@raphodn raphodn merged commit d1efae6 into main Nov 8, 2024
7 checks passed
@raphodn raphodn deleted the raphodn/api-location-200-if-existing branch November 8, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant