diff options
author | Corey Hulen <corey@hulen.com> | 2016-02-08 14:48:54 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-02-08 14:48:54 -0800 |
commit | 8b0143edb36fd5525c48f281c9049dad21fc2658 (patch) | |
tree | 4e624a00229347210f105ee83e2c3a195159777b /api/user.go | |
parent | 137920b479b9cb6688a4ad683c67280549680c70 (diff) | |
parent | fbe932ece61375e4d74e50449346f0b3a87821d1 (diff) | |
download | chat-8b0143edb36fd5525c48f281c9049dad21fc2658.tar.gz chat-8b0143edb36fd5525c48f281c9049dad21fc2658.tar.bz2 chat-8b0143edb36fd5525c48f281c9049dad21fc2658.zip |
Merge pull request #2109 from mattermost/fix-device
Fixing attaching device id
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go index f814a93fe..8f381aeda 100644 --- a/api/user.go +++ b/api/user.go @@ -796,7 +796,7 @@ func attachDeviceId(c *Context, w http.ResponseWriter, r *http.Request) { return } - w.Write([]byte(deviceId)) + w.Write([]byte(model.MapToJson(props))) } func RevokeSessionById(c *Context, sessionId string) { |