Update movement dialog is operational
This commit is contained in:
@ -12,9 +12,9 @@ pub async fn create(auth: AuthExtractor, req: web::Json<UpdateMovementQuery>) ->
|
||||
return Ok(HttpResponse::BadRequest().json(err));
|
||||
}
|
||||
|
||||
movements_service::create(&req).await?;
|
||||
let movement = movements_service::create(&req).await?;
|
||||
|
||||
Ok(HttpResponse::Created().finish())
|
||||
Ok(HttpResponse::Created().json(movement))
|
||||
}
|
||||
|
||||
/// Get the balances of all the accounts of the user
|
||||
|
Reference in New Issue
Block a user