Can delete a movement
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user