Changed /health response to lowercase
This commit is contained in:
@@ -12,7 +12,7 @@ type healthResponse struct {
|
|||||||
|
|
||||||
func HealthHandler(w http.ResponseWriter, r *http.Request) {
|
func HealthHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
resp := healthResponse{
|
resp := healthResponse{
|
||||||
Status: "OK",
|
Status: "ok",
|
||||||
}
|
}
|
||||||
response.JSON(w, http.StatusOK, resp)
|
response.JSON(w, http.StatusOK, resp)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user