Fix manager

This commit is contained in:
2022-09-14 21:07:54 +03:00
parent 648d59740c
commit f85b03e9d5

View File

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