more bugfixes

main
nilo 2024-11-06 21:02:24 -03:00
parent 3869c5f2be
commit d8a7b65a4b
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ func KickSession(strean_name, session_id string) {
jsonValue, _ := json.Marshal(values) 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 { if err != nil {
panic(err) panic(err)