mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix
This commit is contained in:
@@ -39,6 +39,7 @@ async fn make_register_request(user_id: UserId, username: &str, token: &str) ->
|
|||||||
reqwest::Client::new()
|
reqwest::Client::new()
|
||||||
.post(config::CONFIG.manager_url.clone())
|
.post(config::CONFIG.manager_url.clone())
|
||||||
.header("Authorization", config::CONFIG.manager_api_key.clone())
|
.header("Authorization", config::CONFIG.manager_api_key.clone())
|
||||||
|
.header("Content-Type", "application/json")
|
||||||
.json(&data)
|
.json(&data)
|
||||||
.send()
|
.send()
|
||||||
.await?
|
.await?
|
||||||
|
|||||||
Reference in New Issue
Block a user