diff options
| author | seth <[email protected]> | 2023-12-02 19:10:48 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-11 19:10:04 -0500 |
| commit | 138614a51c5314787168cdc178397a0ace98db66 (patch) | |
| tree | 219ef86fa9b9bb2153e28b3a8fd5932c4630779e /src | |
| parent | 5cb1b751ea5253e3b93647c26fd0389dc0dadd1c (diff) | |
fix: set user agent correctly for reqwest
Diffstat (limited to 'src')
| -rw-r--r-- | src/api/mod.rs | 2 |
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() }); |
