lib: Fix category url

This commit is contained in:
hulthe committed 2021-05-04 16:21:33 +02:00
1 parent 8066862c8a
commit 7686d6ba6b
2 files changed
+2 -2

No files matched your search

+1 -1
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?;