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: BE for army deletion #14

Merged
merged 4 commits into from
Jan 25, 2023
Merged

feat: BE for army deletion #14

merged 4 commits into from
Jan 25, 2023

Conversation

mikosramek
Copy link
Owner

@mikosramek mikosramek commented Jan 25, 2023

FE

  • store actions to update/remove armies
  • updated hooks to handle creation and deletion

BE

  • new endpoint for removal
  • updated creation endpoint for easier fe time

tests

image

- early returns for no army ownership
- added new /api/v1/armies/remove route
- Added delete controller for removing army by id, and any steps associated
- added deletion test
@mikosramek mikosramek merged commit 09f17cf into main Jan 25, 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

Successfully merging this pull request may close these issues.

1 participant