Commit b9c52d23 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab: rename project membership methods

parent b927d288
......@@ -145,12 +145,12 @@ impl Gitlab {
}
/// Get the team members of a project.
pub fn members(&self, project: ProjectId) -> GitlabResult<Vec<Member>> {
pub fn project_members(&self, project: ProjectId) -> GitlabResult<Vec<Member>> {
self._get_paged(&format!("projects/{}/members", project))
}
/// Get a team member of a project.
pub fn member(&self, project: ProjectId, user: UserId) -> GitlabResult<Option<Member>> {
pub fn project_member(&self, project: ProjectId, user: UserId) -> GitlabResult<Option<Member>> {
self._get(&format!("projects/{}/members/{}", project, user))
}
......
Supports Markdown
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