Skip to content

Commit

Permalink
Revert "patch condition check on asset_grouping (#188)" (#189)
Browse files Browse the repository at this point in the history
This reverts commit 0d80844.
  • Loading branch information
kespinola committed Dec 18, 2024
1 parent 1c93a14 commit 6e30dd8
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions program_transformers/src/token_metadata/v1_asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,17 +343,15 @@ pub async fn save_v1_asset<T: ConnectionTrait + TransactionTrait>(
.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"),
Expand All @@ -364,6 +362,7 @@ pub async fn save_v1_asset<T: ConnectionTrait + TransactionTrait>(
asset_grouping::Column::Verified,
)),
),
),
)
.add(
Expr::tbl(asset_grouping::Entity, asset_grouping::Column::SlotUpdated)
Expand Down

0 comments on commit 6e30dd8

Please sign in to comment.