diff options
| -rw-r--r-- | src/gitlab/api.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gitlab/api.rs b/src/gitlab/api.rs index 9233413c..312fb951 100644 --- a/src/gitlab/api.rs +++ b/src/gitlab/api.rs @@ -40,12 +40,12 @@ impl Api { &self, project_id: u64, ) -> Result<Vec<Member>, Box<dyn std::error::Error>> { - self.get::<Vec<Member>>(format!("/api/v4/projects/{}/members/all", project_id)) + self.get::<Vec<Member>>(format!("/api/v4/projects/{project_id}/members/all")) .await } pub async fn get_group(&self, group_id: u64) -> Result<Group, Box<dyn std::error::Error>> { - self.get::<Group>(format!("/api/v4/groups/{}", group_id)) + self.get::<Group>(format!("/api/v4/groups/{group_id}")) .await } |
