feat(services/autumn): add accept-language header

closes #358
This commit is contained in:
Paul Makles
2024-10-02 11:32:55 +01:00
parent afd8c906ba
commit 530d68fe89

View File

@@ -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))?;