summaryrefslogtreecommitdiff
path: root/system/admin/admin.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-22 03:47:28 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-22 03:47:28 -0700
commita4b2180e32b72729c27614dd3f10fd0da1f42fde (patch)
tree85c2c2043a6f4a70f1931d68edc21dd611095b78 /system/admin/admin.go
parent23bcfdd4c1ae7070be3948c0903038c3feab11b7 (diff)
debugging json output
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r--system/admin/admin.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go
index 285bb8b..9bf0e9b 100644
--- a/system/admin/admin.go
+++ b/system/admin/admin.go
@@ -324,6 +324,8 @@ func UsersList(req *http.Request) ([]byte, error) {
return nil, err
}
+ fmt.Println(string(j))
+
var usr user.User
err = json.Unmarshal(j, &usr)
if err != nil {