summaryrefslogtreecommitdiffstats
path: root/api4/system.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2018-01-05 16:17:57 -0600
committerGitHub <noreply@github.com>2018-01-05 16:17:57 -0600
commit591ef9f352efd98a85e6d04c0c9072c4c2987527 (patch)
tree2768aed148df1fba4a3e6d9c43057cf64199d6a1 /api4/system.go
parentfd3fa8f8dcfa5de42a16db9b62e1d6628f43b0fd (diff)
downloadchat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.gz
chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.tar.bz2
chat-591ef9f352efd98a85e6d04c0c9072c4c2987527.zip
Remove utils.ClientCfg and utils.ClientCfgHash (#8041)
* remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
Diffstat (limited to 'api4/system.go')
-rw-r--r--api4/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/system.go b/api4/system.go
index c87527ff0..43b941247 100644
--- a/api4/system.go
+++ b/api4/system.go
@@ -244,7 +244,7 @@ func getClientConfig(c *Context, w http.ResponseWriter, r *http.Request) {
}
respCfg := map[string]string{}
- for k, v := range utils.ClientCfg {
+ for k, v := range c.App.ClientConfig() {
respCfg[k] = v
}