From 9916b541662d14a7f06ae3782a73920f45d74984 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 16 Aug 2024 17:54:23 -0700 Subject: [PATCH] as --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8a34a94..3e11666 100644 --- a/src/main.rs +++ b/src/main.rs @@ -708,8 +708,8 @@ async fn create_asset_medias(config:CreateAssetMediasConfig)->AResult<()>{ let context=&context; async{ match create_result{ - Ok(operation)=>match operation.wait(context).await{ - Ok(())=>Some(operation), + Ok(create_asset_response)=>match get_asset_exp_backoff(context,&create_asset_response).await{ + Ok(asset_response)=>Some(asset_response), Err(e)=>{ eprintln!("operation error: {}",e); None