Can update movement information

This commit is contained in:
2025-04-22 11:17:39 +02:00
parent 5db816ca9a
commit 68dfbfff2b
3 changed files with 31 additions and 3 deletions

View File

@ -48,7 +48,7 @@ pub async fn update(
movements_service::update(movement.movement().id(), &req).await?;
Ok(HttpResponse::Accepted().finish())
Ok(HttpResponse::Ok().json(movements_service::get_by_id(movement.movement().id()).await?))
}
/// Delete a movement