mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix manager
This commit is contained in:
@@ -44,7 +44,7 @@ struct BotData {
|
||||
async fn get_bots() -> Result<Vec<BotData>, reqwest::Error> {
|
||||
let client = reqwest::Client::new();
|
||||
let response = client
|
||||
.get(format!("{}/api", &config::CONFIG.manager_url))
|
||||
.get(&config::CONFIG.manager_url)
|
||||
.header("Authorization", &config::CONFIG.manager_api_key)
|
||||
.send()
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user