Skip to content

Commit

Permalink
feat(services/autumn): add accept-language header
Browse files Browse the repository at this point in the history
closes #358
  • Loading branch information
insertish committed Oct 2, 2024
1 parent afd8c90 commit 530d68f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/services/january/src/requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ impl Request {
"Mozilla/5.0 (compatible; January/2.0; +https://github.com/revoltchat/backend)"
},
)
.header("Accept-Language", "en-US,en;q=0.5")
.send()
.await
.map_err(|_| create_error!(ProxyError))?;
Expand Down

0 comments on commit 530d68f

Please sign in to comment.