diff options
author | =Corey Hulen <corey@hulen.com> | 2016-02-08 14:30:58 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-02-08 14:30:58 -0800 |
commit | fbe932ece61375e4d74e50449346f0b3a87821d1 (patch) | |
tree | 4e624a00229347210f105ee83e2c3a195159777b /api | |
parent | 137920b479b9cb6688a4ad683c67280549680c70 (diff) | |
download | chat-fbe932ece61375e4d74e50449346f0b3a87821d1.tar.gz chat-fbe932ece61375e4d74e50449346f0b3a87821d1.tar.bz2 chat-fbe932ece61375e4d74e50449346f0b3a87821d1.zip |
Fixing attaching device id
Diffstat (limited to 'api')
-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) { |