From 1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 6 Sep 2017 17:12:54 -0500 Subject: app type transition (#7167) --- api4/websocket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4/websocket.go') diff --git a/api4/websocket.go b/api4/websocket.go index fade548cb..08bb2e709 100644 --- a/api4/websocket.go +++ b/api4/websocket.go @@ -35,7 +35,7 @@ func connectWebSocket(c *Context, w http.ResponseWriter, r *http.Request) { return } - wc := app.NewWebConn(ws, c.Session, c.T, "") + wc := c.App.NewWebConn(ws, c.Session, c.T, "") if len(c.Session.UserId) > 0 { app.HubRegister(wc) -- cgit v1.2.3-1-g7c22