Fix buggy context

This commit is contained in:
zikaeroh 2020-06-15 18:18:24 -07:00
parent e69ffba5ae
commit 566466cca9
1 changed files with 1 additions and 1 deletions

View File

@ -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()