http api broker 변경 적용

This commit is contained in:
2023-10-26 11:26:25 +09:00
parent 0e280ba971
commit e10ecb6744
2 changed files with 3 additions and 11 deletions

View File

@ -135,12 +135,5 @@ func (so *Social) 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
}
so.httpApiBorker.Call(funcname, w, r)
so.httpApiBorker.Call(w, r)
}