From fbe932ece61375e4d74e50449346f0b3a87821d1 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Mon, 8 Feb 2016 14:30:58 -0800 Subject: Fixing attaching device id --- api/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3-1-g7c22