Commit d53abb9d authored by Sander van Harmelen's avatar Sander van Harmelen

Change GroupMember.AccessLevel to be of type AccessLevel

Fixes #36
parent 7125de3e
......@@ -195,13 +195,13 @@ func (s *GroupsService) SearchGroup(query string) ([]*Group, *Response, error) {
//
// GitLab API docs: http://doc.gitlab.com/ce/api/groups.html
type GroupMember struct {
ID int `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Name string `json:"name"`
State string `json:"state"`
CreatedAt time.Time `json:"created_at"`
AccessLevel int `json:"access_level"`
ID int `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Name string `json:"name"`
State string `json:"state"`
CreatedAt time.Time `json:"created_at"`
AccessLevel AccessLevel `json:"access_level"`
}
// ListGroupMembers get a list of group members viewable by the authenticated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment