diff --git a/das_api/src/api/api_impl.rs b/das_api/src/api/api_impl.rs index 53ee7f24..55993a21 100644 --- a/das_api/src/api/api_impl.rs +++ b/das_api/src/api/api_impl.rs @@ -151,7 +151,9 @@ pub fn not_found(asset_id: &String) -> DbErr { pub fn remove_duplicates_ids(ids: Vec) -> Vec { 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] diff --git a/integration_tests/tests/integration_tests/snapshots/integration_tests__test_get_assets_with_multiple_same_ids__get_assets_with_multiple_same_ids.snap b/integration_tests/tests/integration_tests/snapshots/integration_tests__test_get_assets_with_multiple_same_ids__get_assets_with_multiple_same_ids.snap index 87e5c63f..e856e4c0 100644 --- a/integration_tests/tests/integration_tests/snapshots/integration_tests__test_get_assets_with_multiple_same_ids__get_assets_with_multiple_same_ids.snap +++ b/integration_tests/tests/integration_tests/snapshots/integration_tests__test_get_assets_with_multiple_same_ids__get_assets_with_multiple_same_ids.snap @@ -69,7 +69,6 @@ snapshot_kind: text "ownership_model": "single", "owner": "" }, - "supply": null, "mutable": true, "burnt": false },