summaryrefslogtreecommitdiffstats
path: root/api4/params.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-04-25 12:38:33 -0400
committerCorey Hulen <corey@hulen.com>2017-04-25 09:38:33 -0700
commit8d1a132eda861f3e491a406233b726ff953cdffd (patch)
treef4739b7357c2887a339cebe739abca62a8744e99 /api4/params.go
parent83ca76f8f2bfef819ba928dd1e5c94d65eed46cf (diff)
downloadchat-8d1a132eda861f3e491a406233b726ff953cdffd.tar.gz
chat-8d1a132eda861f3e491a406233b726ff953cdffd.tar.bz2
chat-8d1a132eda861f3e491a406233b726ff953cdffd.zip
Fix OAuth SSO first account creation, add mobile support, and fix refresh tokens (#6181)
Diffstat (limited to 'api4/params.go')
-rw-r--r--api4/params.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/params.go b/api4/params.go
index 5febf06fb..785b2267b 100644
--- a/api4/params.go
+++ b/api4/params.go
@@ -105,7 +105,7 @@ func ApiParamsFromRequest(r *http.Request) *ApiParams {
}
if val, ok := props["service"]; ok {
- params.Category = val
+ params.Service = val
}
if val, ok := props["preference_name"]; ok {