Skip to content

Commit

Permalink
Update src/services/pallets/PalletsForeignAssetsService.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
  • Loading branch information
Imod7 and TarikGul committed Sep 6, 2023
1 parent cc4b02b commit 2c418c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/pallets/PalletsForeignAssetsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class PalletsForeignAssetsService extends AbstractService {
JSON.parse(foreignAssetMultiLocationStr)
);

const assetMetadata = await api.query.foreignAssets.metadata(
const assetMetadata = await api.query.foreignAssets.metadata<AssetMetadata>(
foreignAssetMultiLocation
);

Expand Down

0 comments on commit 2c418c7

Please sign in to comment.