diff --git a/src/functions/increaseNFTSupply.ts b/src/functions/increaseNFTSupply.ts index 7ba2dbf..73bd5de 100644 --- a/src/functions/increaseNFTSupply.ts +++ b/src/functions/increaseNFTSupply.ts @@ -16,7 +16,6 @@ export const increaseNFTSupply = async ({ validatePropsForIncreaseNFTSupply({ nftId, amount, supplyKey, batchSize }); return getMetaDataFromMirrorNode(network, nftId, mirrorNodeUrl) .then((metaData) => mintSharedMetadataFunction({ client, tokenId: nftId.tokenId.toString(), amount, batchSize, metaData, supplyKey })); - }; async function getMetaDataFromMirrorNode(network: string, nftId: NftId, mirrorNodeUrl?: string): Promise { @@ -26,8 +25,8 @@ async function getMetaDataFromMirrorNode(network: string, nftId: NftId, mirrorNo //atob is used to decode the base64 encoded metadata return atob(response.data.metadata); }) -}; +} function getMirrorNodeUrlForNetwork(network: string): string { return `https://${network === 'mainnet' ? 'mainnet-public' : network}.mirrornode.hedera.com/api/v1`; -}; \ No newline at end of file +} \ No newline at end of file