From c1bcb8086087c6b9c277e86b1b3356d122530405 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Fri, 5 Jan 2024 13:54:54 -0600 Subject: [PATCH] log/return currency error --- backend/app/api/handlers/v1/v1_ctrl_group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/api/handlers/v1/v1_ctrl_group.go b/backend/app/api/handlers/v1/v1_ctrl_group.go index 72ce463..0d26869 100644 --- a/backend/app/api/handlers/v1/v1_ctrl_group.go +++ b/backend/app/api/handlers/v1/v1_ctrl_group.go @@ -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"), ) }