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

Tech/update receipt update to use command #214

Merged
merged 14 commits into from
Apr 11, 2024

Conversation

Noah231515
Copy link
Member

Changes

  • Update receipt create/update endpoints to use an upsert receipt command, instead of taking the whole model
  • Removed old receipt middleware in favor of shared handler approach
  • Moved update functionality out of gorm hooks, into update service call

@Noah231515 Noah231515 merged commit 04ecc37 into main Apr 11, 2024
@Noah231515 Noah231515 deleted the tech/update-receipt-update-to-use-command branch April 11, 2024 16:43
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.

Creating a receipt with resolved status does not resolve items Refactor Receipt API update to use command
1 participant