Pass along just the client id instead a reference to the entire client when unregistering the client

This commit is contained in:
Gabe Kangas
2021-07-26 17:30:28 -07:00
parent f07c9e2e00
commit f85b54cfeb
3 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ func GetChatMessages(w http.ResponseWriter, r *http.Request) {
messages := chat.GetChatHistory()
if err := json.NewEncoder(w).Encode(messages); err != nil {
log.Errorln(err)
log.Debugln(err)
}
default:
w.WriteHeader(http.StatusNotImplemented)