Can delete a movement

This commit is contained in:
2025-04-19 22:00:27 +02:00
parent 89ffb558ac
commit 9d345b9c42
3 changed files with 17 additions and 0 deletions

View File

@ -139,6 +139,10 @@ async fn main() -> std::io::Result<()> {
"/api/movement/{movement_id}",
web::get().to(movement_controller::get_single),
)
.route(
"/api/movement/{movement_id}",
web::delete().to(movement_controller::delete),
)
// Static assets
.route("/", web::get().to(static_controller::root_index))
.route(