From ae5df424adc2a846ed5963662900f7633edeaf55 Mon Sep 17 00:00:00 2001 From: Luna Seemann Date: Sat, 21 Feb 2026 19:54:11 +0100 Subject: [PATCH] fix: update server error to 500 status code (#70) --- internal/helpers/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.51.2