API: Target member was not found, return 404.
This commit is contained in:
parent
a6dccc753b
commit
da71c9261d
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ func (h *RoomHandler) controlGive(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
target, ok := h.sessions.Get(memberId)
|
||||
if !ok {
|
||||
utils.HttpBadRequest(w, "Target member was not found.")
|
||||
utils.HttpNotFound(w, "Target member was not found.")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue