🔊 Log when pushing websocket package

This commit is contained in:
2024-11-17 17:38:14 +08:00
parent c0edeec621
commit ab9bc5d127
2 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func ClientUnregister(user sec.UserInfo, id uint64) {
delete(wsConn[user.ID], id)
wsMutex.Unlock()
directory.BroadcastEvent("ws.client.unregister", map[string]any{
_ = directory.BroadcastEvent("ws.client.unregister", map[string]any{
"user": user.ID,
"id": id,
})