Skip to content

Commit

Permalink
fixed failing test with curreny
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
1Shubham7 authored Sep 18, 2024
1 parent 595947c commit 523b3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type createAccountRequest struct {
Owner string `json:"owner" binding:"required"`
Balance int64 `json:"balance"`
Currency string `json:"currency" binding:"required,oneof=USD INR EUR"`
Currency string `json:"currency" binding:"required,oneof=USD INR EUR CAD YUAN"`
}

func (server *Server) createAccount(ctx *gin.Context) {
Expand Down

0 comments on commit 523b3f9

Please sign in to comment.