Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AhzamAkhtar committed Jan 7, 2025
1 parent 6e66a84 commit 5032833
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion das_api/src/api/api_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ pub fn not_found(asset_id: &String) -> DbErr {

pub fn remove_duplicates_ids(ids: Vec<String>) -> Vec<String> {
let mut hash_set = HashSet::new();
ids.into_iter().filter(|id| hash_set.insert(id.clone())).collect()
ids.into_iter()
.filter(|id| hash_set.insert(id.clone()))
.collect()
}

#[document_rpc]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ snapshot_kind: text
"ownership_model": "single",
"owner": ""
},
"supply": null,
"mutable": true,
"burnt": false
},
Expand Down

0 comments on commit 5032833

Please sign in to comment.