lib: Fix category url
This commit is contained in:
@ -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?;
|
||||
|
||||
Reference in New Issue
Block a user