Commit 6b5e3570 authored by Sander van Harmelen's avatar Sander van Harmelen

Merge pull request #44 from mishak87/patch-1

Fixed: Proper type for ProjectMember.AccessLevel
parents 6bf318c3 6f374185
......@@ -502,13 +502,13 @@ func (s *ProjectsService) DeleteProject(pid interface{}) (*Response, error) {
// GitLab API docs:
// http://doc.gitlab.com/ce/api/projects.html#list-project-team-members
type ProjectMember 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"`
}
// ListProjectMembersOptions represents the available ListProjectMembers()
......
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