Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: missing await on async read_oauth_token call

Louis Beaumont1b28c7c333f2
diff --git a/crates/screenpipe-engine/src/connections_api.rs b/crates/screenpipe-engine/src/connections_api.rs
index beb18f8a8..fb28798f2 100644
--- a/crates/screenpipe-engine/src/connections_api.rs
+++ b/crates/screenpipe-engine/src/connections_api.rs
@@ -1097,7 +1097,7 @@ async fn connection_proxy(
let auth = resolve_auth(
&proxy_cfg.auth,
creds.as_ref(),
- oauth_token.as_deref(),
+ oauth_token.await.as_deref(),
);
// Check that auth was actually resolved (don't send unauthenticated requests)