Can get a single movement information

This commit is contained in:
2025-04-19 21:57:19 +02:00
parent 811e885bf3
commit 89ffb558ac
4 changed files with 82 additions and 0 deletions

View File

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