mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
API: Target member was not found, return 404.
This commit is contained in:
parent
a6dccc753b
commit
da71c9261d
@ -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 New Issue
Block a user