Skip to content

Commit

Permalink
fix gin
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeauchesne committed Sep 9, 2024
1 parent 43c760d commit d164c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/build/docker/golang/app/gin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ func main() {
healthCheck, err := common.GetHealtchCheck()

if err != nil {
c.JSON(http.StatusInternalServerError, err)
ctx.JSON(http.StatusInternalServerError, err)
}

c.JSON(http.StatusOK, healthCheck)
ctx.JSON(http.StatusOK, healthCheck)
})

r.Any("/waf", func(ctx *gin.Context) {
Expand Down

0 comments on commit d164c7d

Please sign in to comment.