Update deps
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled

This commit is contained in:
2024-10-02 14:13:28 +02:00
parent 5dc58f1418
commit a0368b6ec0
3 changed files with 55 additions and 30 deletions

View File

@@ -40,7 +40,7 @@ pub async fn get_bots() -> Result<Vec<BotData>, reqwest::Error> {
pub async fn delete_bot(id: u32) -> Result<(), reqwest::Error> {
let response = CLIENT
.delete(&format!("{}/{}/", config::CONFIG.manager_url, id))
.delete(format!("{}/{}/", config::CONFIG.manager_url, id))
.header("Authorization", &config::CONFIG.manager_api_key)
.send()
.await;