fix: POST url
This commit is contained in:
parent
fc791412a5
commit
20fe783823
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ pub async fn post_upcoming_colles(
|
||||||
let api_url = get_config(config, "api");
|
let api_url = get_config(config, "api");
|
||||||
let api_token = get_config(config, "token");
|
let api_token = get_config(config, "token");
|
||||||
|
|
||||||
let url = format!("{api_url}/colles");
|
let url = format!("{api_url}/colles/upcoming");
|
||||||
let colles_json = json!({
|
let colles_json = json!({
|
||||||
"colles": &colles,
|
"colles": &colles,
|
||||||
"className": class_name,
|
"className": class_name,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue