mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-22 00:25:43 +00:00
log/return currency error
This commit is contained in:
parent
50bbb38321
commit
c1bcb80860
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func (ctrl *V1Controller) HandleGroupUpdate() errchain.HandlerFunc {
|
|||
ok := ctrl.svc.Currencies.IsSupported(body.Currency)
|
||||
if !ok {
|
||||
return repo.Group{}, validate.NewFieldErrors(
|
||||
validate.NewFieldError("currency", "currency is not supported"),
|
||||
validate.NewFieldError("currency", "currency '" + body.Currency + "' is not supported"),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue