Skip to content

Commit

Permalink
Bugfix structs.go
Browse files Browse the repository at this point in the history
Сhanged the field type of the User structure to the same as in the documentation, since it did not match and part of the functionality did not work.
  • Loading branch information
Hedgehog2484 authored Sep 1, 2023
1 parent bf76b6e commit 637bb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 637bb10

Please sign in to comment.