diff --git a/src-tauri/src/gitlab_api.rs b/src-tauri/src/gitlab_api.rs index fb2703f..ae21b81 100644 --- a/src-tauri/src/gitlab_api.rs +++ b/src-tauri/src/gitlab_api.rs @@ -25,7 +25,7 @@ impl Endpoint for Runners { } fn endpoint(&self) -> std::borrow::Cow<'static, str> { - format!("runners").into() + "runners".into() } } diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 44e1343..dfa90d5 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -5,7 +5,7 @@ use std::sync::Mutex; -use gitlab::{api::{Query, AsyncQuery, projects::jobs::RetryJob}, Runner, Gitlab, AsyncGitlab}; +use gitlab::{api::{AsyncQuery, projects::jobs::RetryJob}, Runner, AsyncGitlab}; use gitlab_api::Job; pub mod gitlab_api;