diff --git a/handlers/handlers.go b/handlers/handlers.go index d38af7b..b51845e 100644 --- a/handlers/handlers.go +++ b/handlers/handlers.go @@ -57,7 +57,7 @@ func Index() echo.HandlerFunc { func Healthz() echo.HandlerFunc { return func(c echo.Context) error { - return c.String(http.StatusOK, "{\"status\": \"OK\"}") + return c.JSON(http.StatusOK, struct{ Status string }{Status: "OK"}) } }