Skip to content

edit cost backend now tells the frontend that a cost with this name a…#403

Open
prooflesben wants to merge 2 commits intomainfrom
catch-failed-conditional-check-in-cost-update
Open

edit cost backend now tells the frontend that a cost with this name a…#403
prooflesben wants to merge 2 commits intomainfrom
catch-failed-conditional-check-in-cost-update

Conversation

@prooflesben
Copy link
Copy Markdown
Collaborator

@prooflesben prooflesben commented Apr 10, 2026

ℹ️ Issue

Closes your mom

📝 Description

Edit cost backend errored correctly when trying to set the name of a cost to an already existing cost but didn't give the frontend the error. The backend now sends a 409 error.

✔️ Verification

Manually tested with the frontend.
image

Test Changes

Updated the update cost test

🏕️ (Optional) Future Work / Notes

Error doesn't get shown in the fronted this should be fixed on sunday hopefully.

@prooflesben prooflesben requested a review from lyannne April 10, 2026 17:40
Copy link
Copy Markdown
Collaborator

@lyannne lyannne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

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.

2 participants