defer cancel du vogel

This commit is contained in:
Julian Graf 2023-08-01 19:47:12 +02:00
parent 48f64d8382
commit d7b4537ce7
1 changed files with 1 additions and 0 deletions

View File

@ -354,6 +354,7 @@ func (h MessageHandler) UptimeKumaWebHook(g *gin.Context) ginresp.HTTPResponse {
var q query
ctx, httpErr := h.app.StartRequest(g, nil, &q, &b, nil)
defer ctx.Cancel()
if httpErr != nil {
return *httpErr