Skip to content

Commit

Permalink
fungible assets not showing when token_type is set to all bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AhzamAkhtar committed Dec 27, 2024
1 parent 18fa36b commit 732923c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digital_asset_types/src/dao/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl SearchAssetsQuery {
}

if let Some(o) = self.owner_address.to_owned() {
if self.token_type == Some(TokenTypeClass::Fungible) {
if self.token_type == Some(TokenTypeClass::Fungible) || self.token_type == Some(TokenTypeClass::All) {
conditions = conditions.add(token_accounts::Column::Owner.eq(o));
let rel = extensions::token_accounts::Relation::Asset
.def()
Expand Down

0 comments on commit 732923c

Please sign in to comment.