Skip to content

Commit

Permalink
Setting files as empty string for oasis sapphire assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehewitt15 committed Oct 15, 2024
1 parent f2f5076 commit f4a8411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export async function createAsset(
// create the files encrypted string
assetUrl.datatokenAddress = datatokenAddressAsset;
assetUrl.nftAddress = nftAddress;
ddo.services[0].files = await ProviderInstance.encrypt(
ddo.services[0].files = templateIndex === 4 ? '' : await ProviderInstance.encrypt(
assetUrl,
chainId,
macOsProviderUrl || providerUrl
Expand Down

0 comments on commit f4a8411

Please sign in to comment.