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)