summaryrefslogtreecommitdiff
path: root/src/api/mod.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-02 19:10:48 -0500
committerseth <[email protected]>2023-12-11 19:10:04 -0500
commit138614a51c5314787168cdc178397a0ace98db66 (patch)
tree219ef86fa9b9bb2153e28b3a8fd5932c4630779e /src/api/mod.rs
parent5cb1b751ea5253e3b93647c26fd0389dc0dadd1c (diff)
fix: set user agent correctly for reqwest
Diffstat (limited to 'src/api/mod.rs')
-rw-r--r--src/api/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/mod.rs b/src/api/mod.rs
index d9eaef2..6554553 100644
--- a/src/api/mod.rs
+++ b/src/api/mod.rs
@@ -11,7 +11,7 @@ pub static USER_AGENT: Lazy<String> = Lazy::new(|| {
pub static REQWEST_CLIENT: Lazy<reqwest::Client> = Lazy::new(|| {
reqwest::Client::builder()
- .user_agent(format!("{:#?}", USER_AGENT))
+ .user_agent(USER_AGENT.to_string())
.build()
.unwrap_or_default()
});