http api broker 변경 적용

This commit is contained in:
2023-10-26 11:25:31 +09:00
parent b9339166b9
commit bd2408c66f
2 changed files with 1 additions and 10 deletions

View File

@ -188,12 +188,5 @@ func (tv *Tavern) api(w http.ResponseWriter, r *http.Request) {
return
}
funcname := r.URL.Query().Get("call")
if len(funcname) == 0 {
logger.Println("query param 'call' is missing")
w.WriteHeader(http.StatusBadRequest)
return
}
tv.httpApiBorker.Call(funcname, w, r)
tv.httpApiBorker.Call(w, r)
}