update readme

This commit is contained in:
diPhantxm
2023-07-27 00:44:36 +03:00
parent 9a41bb1196
commit eb0ce6feb6
2 changed files with 40 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ func (ns *NotificationServer) handler(rw http.ResponseWriter, httpReq *http.Requ
//ns.error(rw, http.StatusInternalServerError, err)
return
}
h, _ := ns.handlers[mt.MessageType]
h := ns.handlers[mt.MessageType]
if err := h(req); err != nil {
ns.result(rw, false)
//ns.error(rw, http.StatusInternalServerError, err)