Skip to content

Commit

Permalink
fixup! BaseHTTPClient: fields made public, better constructor API, De…
Browse files Browse the repository at this point in the history
…fault
  • Loading branch information
mvidner committed Jul 31, 2024
1 parent aa3f40f commit d43ff6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/agama-lib/src/base_http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ impl BaseHTTPClient {

headers.insert(header::AUTHORIZATION, value);

let client = reqwest::Client::builder().default_headers(headers).build()?;
let client = reqwest::Client::builder()
.default_headers(headers)
.build()?;
Ok(client)
}

Expand Down

0 comments on commit d43ff6b

Please sign in to comment.