This commit is contained in:
2023-09-14 21:50:23 +02:00
parent efaf2e385a
commit cbab567692
6 changed files with 59 additions and 65 deletions

View File

@@ -13,10 +13,10 @@ where
{
let client = reqwest::Client::new();
let formated_url = format!("{}{}", &config::CONFIG.book_library_url, url);
let formatted_url = format!("{}{}", &config::CONFIG.book_library_url, url);
let response = client
.get(formated_url)
.get(formatted_url)
.query(&params)
.header("Authorization", &config::CONFIG.book_library_api_key)
.send()