This commit is contained in:
Quaternions 2024-08-16 17:54:23 -07:00
parent 3a165b3bd3
commit 9916b54166

View File

@ -708,8 +708,8 @@ async fn create_asset_medias(config:CreateAssetMediasConfig)->AResult<()>{
let context=&context; let context=&context;
async{ async{
match create_result{ match create_result{
Ok(operation)=>match operation.wait(context).await{ Ok(create_asset_response)=>match get_asset_exp_backoff(context,&create_asset_response).await{
Ok(())=>Some(operation), Ok(asset_response)=>Some(asset_response),
Err(e)=>{ Err(e)=>{
eprintln!("operation error: {}",e); eprintln!("operation error: {}",e);
None None