From d8a7b65a4b33ab16f7f6e1f184a99269a4351e4d Mon Sep 17 00:00:00 2001 From: nilo Date: Wed, 6 Nov 2024 21:02:24 -0300 Subject: [PATCH] more bugfixes --- controllers/webhookController.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/webhookController.go b/controllers/webhookController.go index be62e56..d9d71d9 100644 --- a/controllers/webhookController.go +++ b/controllers/webhookController.go @@ -21,7 +21,9 @@ func KickSession(strean_name, session_id string) { jsonValue, _ := json.Marshal(values) - _, err := http.Post(url, "application/json", bytes.NewBuffer(jsonValue)) + resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonValue)) + + fmt.Printf("KickSession status code: %d\n", resp.StatusCode) if err != nil { panic(err)