From ac509b114df1c1b4b841eded74fb797805e0162d Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Tue, 17 May 2016 13:55:51 -0700 Subject: Fixing websocket connection --- api/web_socket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/web_socket.go') diff --git a/api/web_socket.go b/api/web_socket.go index 72a9c61a6..4c4a56c52 100644 --- a/api/web_socket.go +++ b/api/web_socket.go @@ -33,7 +33,7 @@ func connect(c *Context, w http.ResponseWriter, r *http.Request) { return } - wc := NewWebConn(ws, c.Session.UserId, c.Session.Id) + wc := NewWebConn(ws, c.Session.UserId, c.Session.Token) hub.Register(wc) go wc.writePump() wc.readPump() -- cgit v1.2.3-1-g7c22