Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaptoss committed Mar 5, 2024
1 parent 07ef0fd commit aee3521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/handlers/create_balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func CreateBalance(w http.ResponseWriter, r *http.Request) {
return
}

// Balance should not exist
// Balance should not exist or be inactive
if balance != nil && balance.ReferredBy.Valid {
ape.RenderErr(w, problems.Conflict())
return
Expand Down

0 comments on commit aee3521

Please sign in to comment.