summaryrefslogtreecommitdiffstats
path: root/wsapi/system.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-09-06 17:12:54 -0500
committerGitHub <noreply@github.com>2017-09-06 17:12:54 -0500
commit1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3 (patch)
tree2766bacc1f045fa685ca3d8310cd6174d0311d09 /wsapi/system.go
parentb84bd21089d305333fa4114b95be70f5ad94ad1b (diff)
downloadchat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.tar.gz
chat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.tar.bz2
chat-1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3.zip
app type transition (#7167)
Diffstat (limited to 'wsapi/system.go')
-rw-r--r--wsapi/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsapi/system.go b/wsapi/system.go
index 878bf50a7..ba1f862a5 100644
--- a/wsapi/system.go
+++ b/wsapi/system.go
@@ -13,7 +13,7 @@ import (
func InitSystem() {
l4g.Debug(utils.T("wsapi.system.init.debug"))
- app.Srv.WebSocketRouter.Handle("ping", ApiWebSocketHandler(ping))
+ app.Global().Srv.WebSocketRouter.Handle("ping", ApiWebSocketHandler(ping))
}
func ping(req *model.WebSocketRequest) (map[string]interface{}, *model.AppError) {