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
|
var q query
|
||||||
|
|
||||||
ctx, httpErr := h.app.StartRequest(g, nil, &q, &b, nil)
|
ctx, httpErr := h.app.StartRequest(g, nil, &q, &b, nil)
|
||||||
|
defer ctx.Cancel()
|
||||||
|
|
||||||
if httpErr != nil {
|
if httpErr != nil {
|
||||||
return *httpErr
|
return *httpErr
|
||||||
|
|
Loading…
Reference in New Issue