Skip to content

Commit

Permalink
Minor code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ancwrd1 committed Jan 9, 2025
1 parent 435afa7 commit 787d95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snxcore/src/ccc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl CccHttpClient {
}

async fn send_raw_request(&self, request: CccClientRequestData) -> anyhow::Result<SExpression> {
let with_cert = matches!(request.data, RequestData::Auth(AuthRequest { .. }));
let with_cert = matches!(request.data, RequestData::Auth(_));
let expr = SExpression::from(CccClientRequest { data: request });

let mut builder = reqwest::Client::builder().connect_timeout(CONNECT_TIMEOUT);
Expand Down

0 comments on commit 787d95c

Please sign in to comment.