diff --git a/internal/server/server.go b/internal/server/server.go index 1bb8c95..84fb0ad 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -302,7 +302,7 @@ func (r *Room) HandleConn(ctx context.Context, nickname string, c *websocket.Con return err } - ctx = ctxlog.With(ctx, zap.String("method", string(note.Method))) + ctx := ctxlog.With(ctx, zap.String("method", string(note.Method))) r.lastSeen.Store(time.Now()) metricReceived.Inc()