diff --git a/pkg/web/response.go b/pkg/web/response.go index 84865ef..cc8764d 100644 --- a/pkg/web/response.go +++ b/pkg/web/response.go @@ -58,7 +58,7 @@ func ErrHandle(ctx fiber.Ctx, err error) error { } // Send custom error page - err = ctx.Status(code).JSON(Response{ + err = ctx.JSON(Response{ Code: code, Msg: err.Error(), })