This commit is contained in:
2023-05-21 08:22:56 -05:00
parent eb5584b5c9
commit 8e2a20b0c7
3 changed files with 5 additions and 21 deletions

View File

@@ -17,5 +17,5 @@ import (
// @Router /health/getHealth [get]
func (c *Controller) GetHealth(ctx *gin.Context) {
// Return the health in the response body
ctx.JSON(http.StatusOK, gin.H{"health": "OK"})
ctx.JSON(http.StatusOK, gin.H{"message": "OK"})
}