defer cancel du vogel
This commit is contained in:
parent
48f64d8382
commit
d7b4537ce7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue