화이트리스트 삭제 문제 수정

This commit is contained in:
2023-07-10 18:12:43 +09:00
parent 22ec115b35
commit d796958d5e
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")
}