Simplify web API (put ids in url)

This commit is contained in:
Greg Burri 2025-05-19 22:58:00 +02:00
parent 0c43935bef
commit 6e017e41a3
14 changed files with 403 additions and 588 deletions

View file

@ -172,7 +172,7 @@ pub fn setup(
date,
remove_ingredients_from_shopping_list,
};
let _ = request::delete::<(), _>("calendar/scheduled_recipe", body).await;
let _ = request::delete::<(), _>("calendar/scheduled_recipe", Some(body)).await;
window().location().reload().unwrap();
}
});