Merge branch 'master' into kd-live

This commit is contained in:
2023-07-10 18:12:57 +09:00
3 changed files with 11 additions and 2 deletions

View File

@ -218,7 +218,8 @@ func (caller apiCaller) whitelistAPI(w http.ResponseWriter, r *http.Request) err
return err
}
} else if r.Method == "DELETE" {
id := r.FormValue("id")
id := r.URL.Query().Get("id")
if len(id) == 0 {
return errors.New("id param is missing")
}