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