summaryrefslogtreecommitdiff
path: root/system/admin/admin.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-22 03:54:31 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-22 03:54:31 -0700
commit1d2eab63109f2fc4ee2399c47e3aae542e4e9663 (patch)
treefa38c9c6a435105fa37a1fcd1f0cbf562ef0d06d /system/admin/admin.go
parent45e3a4fa9d946b42a5878733e043519ff88b19ea (diff)
debugging json content
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r--system/admin/admin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go
index 9bf0e9b..bee723b 100644
--- a/system/admin/admin.go
+++ b/system/admin/admin.go
@@ -329,6 +329,7 @@ func UsersList(req *http.Request) ([]byte, error) {
var usr user.User
err = json.Unmarshal(j, &usr)
if err != nil {
+ fmt.Println(string(j))
fmt.Println("Unmarshal usr")
return nil, err
}