Skip to content

Commit

Permalink
remove leftover log
Browse files Browse the repository at this point in the history
  • Loading branch information
Misieq01 committed Aug 1, 2024
1 parent e5c6fbc commit 9e42e59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src-tauri/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ pub async fn make_request<T: Serialize>(
};
let mut builder = client.post(url).header(CONTENT_TYPE, "application/json");
if let Some(token) = token {
builder = builder.header(AUTHORIZATION, format!("Bearer {token}"));
println!("Token: {}", token);
builder = builder.header(AUTHORIZATION, format!("Bearer {token}"));W
}
let resp = builder.json(&body).send().await?.json::<JsonRpcResponse>().await?;
match resp.result {
Expand Down

0 comments on commit 9e42e59

Please sign in to comment.