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:
@@ -25,8 +25,6 @@ async fn get_bot_username(token: &str) -> Option<String> {
|
||||
}
|
||||
|
||||
async fn make_register_request(user_id: UserId, username: &str, token: &str) -> Result<(), Box<dyn Error + Send + Sync>> {
|
||||
let user_id = &user_id.to_string();
|
||||
|
||||
let body = json!({
|
||||
"token": token,
|
||||
"user": user_id,
|
||||
|
||||
Reference in New Issue
Block a user