From f61d998d978fcbdf9c86a7716b73dc2916cda21b Mon Sep 17 00:00:00 2001 From: Kyle Espinola Date: Wed, 18 Dec 2024 11:59:29 -0500 Subject: [PATCH] Revert "patch condition check on asset_grouping (#188)" This reverts commit 0d8084432447feb89fe32d8a1b92f6837a7535c9. --- .../src/token_metadata/v1_asset.rs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/program_transformers/src/token_metadata/v1_asset.rs b/program_transformers/src/token_metadata/v1_asset.rs index 00bca2494..c737431d5 100644 --- a/program_transformers/src/token_metadata/v1_asset.rs +++ b/program_transformers/src/token_metadata/v1_asset.rs @@ -343,17 +343,15 @@ pub async fn save_v1_asset( .action_cond_where( Condition::all() .add( - Condition::any() - .add( - Expr::tbl( - Alias::new("excluded"), - asset_grouping::Column::GroupValue, - ) - .ne(Expr::tbl( - asset_grouping::Entity, - asset_grouping::Column::GroupValue, - )), + Condition::any().add( + Expr::tbl( + Alias::new("excluded"), + asset_grouping::Column::GroupValue, ) + .ne(Expr::tbl( + asset_grouping::Entity, + asset_grouping::Column::GroupValue, + )) .add( Expr::tbl( Alias::new("excluded"), @@ -364,6 +362,7 @@ pub async fn save_v1_asset( asset_grouping::Column::Verified, )), ), + ), ) .add( Expr::tbl(asset_grouping::Entity, asset_grouping::Column::SlotUpdated)