Recipe can now be scheduled
This commit is contained in:
parent
ae6da1a5ae
commit
fbef990022
18 changed files with 233 additions and 51 deletions
|
|
@ -181,6 +181,14 @@ async fn main() {
|
|||
"/calendar/get_scheduled_recipes",
|
||||
get(services::ron::get_scheduled_recipes),
|
||||
)
|
||||
.route(
|
||||
"/calendar/schedule_recipe",
|
||||
post(services::ron::schedule_recipe),
|
||||
)
|
||||
.route(
|
||||
"/calendar/remove_scheduled_recipe",
|
||||
delete(services::ron::rm_scheduled_recipe),
|
||||
)
|
||||
.fallback(services::ron::not_found);
|
||||
|
||||
let fragments_routes = Router::new().route(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue