diff --git a/internal/helpers/helpers.go b/internal/helpers/helpers.go index af88a2d..51c6021 100644 --- a/internal/helpers/helpers.go +++ b/internal/helpers/helpers.go @@ -29,7 +29,7 @@ func ServerError(e echo.Context, suffix *string) error { if suffix != nil { msg += ". " + *suffix } - return genericError(e, 400, msg) + return genericError(e, 500, msg) } func UnauthorizedError(e echo.Context, suffix *string) error {