lib: Fix category url

This commit is contained in:
2021-05-04 16:21:33 +02:00
parent 8066862c8a
commit 7686d6ba6b
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ async fn get_active_categories(opt: &DaemonOpt, cookie: &str) -> Result<Vec<Stri
info!("downloading category list");
let client = reqwest::Client::new();
let response = client
.get(format!("{}{}", &opt.api_uri, url::SESSIONS))
.get(format!("{}{}", &opt.api_uri, url::CATEGORIES))
.header("Cookie", cookie)
.send()
.await?;