diff --git a/structs.go b/structs.go index f97fc76..77a32e9 100644 --- a/structs.go +++ b/structs.go @@ -88,7 +88,7 @@ type User struct { Relation int `json:"relation"` Hidden int `json:"hidden"` Closed int `json:"is_closed"` - CanAccessClosed int `json:"can_access_closed"` + CanAccessClosed bool `json:"can_access_closed"` Deactivated string `json:"deactivated"` IsAdmin bool `json:"is_admin"` IsOwner bool `json:"is_owner"`