From 7134064c170ccddda2c9e7ab36e813c2445ca7a1 Mon Sep 17 00:00:00 2001 From: Francis PEROT Date: Mon, 1 Jul 2019 09:40:14 +0200 Subject: [PATCH] Fix JSON name issue --- definitions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/definitions.go b/definitions.go index 9e4697a..4d5c32a 100644 --- a/definitions.go +++ b/definitions.go @@ -654,7 +654,7 @@ type UserRepresentation struct { // UsersPageRepresentation is used to manage users paging type UsersPageRepresentation struct { - Count *int `json:"id,omitempty"` + Count *int `json:"count,omitempty"` Users []UserRepresentation `json:"users,omitempty"` }