@@ -134,7 +134,7 @@ func (a *Api) handleUsers(w http.ResponseWriter, r *http.Request) {
return
}
default:
w.WriteHeader(406)
w.WriteHeader(405)
io.WriteString(w,"Invalid method for /users")
return
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.