Skip to content

Commit

Permalink
Fix edit path
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Sep 17, 2024
1 parent cf36fbf commit 2730cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/accounts-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func main() {
v1.Get("/", accountController.GetUserAccount)

//update account other data(region,etc)
v1.Put("/update", accountController.UpdateUser)
v1.Put("/", accountController.UpdateUser)

//delete account and all associated links, cascade
v1.Delete("/", accountController.DeleteUser)
Expand Down

0 comments on commit 2730cc0

Please sign in to comment.