Skip to content

Commit b232f31

Browse files
heartbeat reply + interval changes*
1 parent 0e62794 commit b232f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/internal/websocket/handler/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (h *MessageHandlerCtx) Message(session types.Session, data types.WebSocketM
3939
switch data.Event {
4040
// Client Events
4141
case event.CLIENT_HEARTBEAT:
42-
err = session.Send("system/heartbeat", map[string]any{
42+
session.Send("system/heartbeat", map[string]any{
4343
"timestamp": time.Now(),
4444
})
4545

0 commit comments

Comments
 (0)