diff --git a/utils/arweave/v2.ts b/utils/arweave/v2.ts index 76a5b26d..03d4a37c 100644 --- a/utils/arweave/v2.ts +++ b/utils/arweave/v2.ts @@ -150,8 +150,11 @@ export async function uploadSingleFileToBundlr( }: { fileSize: number; fileType?: string, ipfsHash: string; txHash: string }, ) { const bundler = await getBundler({ fileSize, ipfsHash, txHash }) - const response = await bundler.upload(file, { - tags: fileType ? [{ name: 'Content-Type', value: fileType }] : [], - }) + const tags = [ + { name: 'IPFS-Add', value: ipfsHash }, + { name: 'standard', value: 'v0.1'}, + ]; + if (fileType) tags.push({ name: 'Content-Type', value: fileType }) + const response = await bundler.upload(file, { tags }) return response.id }