mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix
This commit is contained in:
@@ -41,7 +41,8 @@ async fn make_register_request(user_id: UserId, username: &str, token: &str) ->
|
||||
.header("Authorization", config::CONFIG.manager_api_key.clone())
|
||||
.json(&data)
|
||||
.send()
|
||||
.await?;
|
||||
.await?
|
||||
.error_for_status()?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user