From 1fb0b2a8c985d3f177668971bf2faaad14c9d400 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Fri, 22 Nov 2024 04:57:07 +0200 Subject: [PATCH] fix publish --- src/qortalRequests/get.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/qortalRequests/get.ts b/src/qortalRequests/get.ts index f0b3404..13fd108 100644 --- a/src/qortalRequests/get.ts +++ b/src/qortalRequests/get.ts @@ -635,9 +635,7 @@ export const publishQDNResource = async (data: any, sender, isFromExtension) => }, isFromExtension); const { accepted } = resPermission; if (accepted) { - if (data.fileId && !data.encrypt) { - data64 = await getFileFromContentScript(data.fileId); - } + try { const resPublish = await publishData({ registeredName: encodeURIComponent(name),