Commit 6f374185 authored by Michal Gebauer's avatar Michal Gebauer

Fixed: Proper type for ProjectMember.AccessLevel

parent 6bf318c3
...@@ -502,13 +502,13 @@ func (s *ProjectsService) DeleteProject(pid interface{}) (*Response, error) { ...@@ -502,13 +502,13 @@ func (s *ProjectsService) DeleteProject(pid interface{}) (*Response, error) {
// GitLab API docs: // GitLab API docs:
// http://doc.gitlab.com/ce/api/projects.html#list-project-team-members // http://doc.gitlab.com/ce/api/projects.html#list-project-team-members
type ProjectMember struct { type ProjectMember struct {
ID int `json:"id"` ID int `json:"id"`
Username string `json:"username"` Username string `json:"username"`
Email string `json:"email"` Email string `json:"email"`
Name string `json:"name"` Name string `json:"name"`
State string `json:"state"` State string `json:"state"`
CreatedAt time.Time `json:"created_at"` CreatedAt time.Time `json:"created_at"`
AccessLevel int `json:"access_level"` AccessLevel AccessLevel `json:"access_level"`
} }
// ListProjectMembersOptions represents the available ListProjectMembers() // 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