Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(tauri): allow async_fn_in_trait on authed API ManagerExt

Richie McIlroy6d65591d35b8
diff --git a/apps/desktop/src-tauri/src/web_api.rs b/apps/desktop/src-tauri/src/web_api.rs
index 42ced0421..01b52fe03 100644
--- a/apps/desktop/src-tauri/src/web_api.rs
+++ b/apps/desktop/src-tauri/src/web_api.rs
@@ -98,6 +98,7 @@ async fn do_authed_request(
apply_env_headers(req).send().await
}
+#[allow(async_fn_in_trait)]
pub trait ManagerExt<R: Runtime>: Manager<R> {
async fn authed_api_request(
&self,