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