mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-03-14 20:02:33 +00:00
fix publish
This commit is contained in:
parent
2fd09f5e20
commit
1fb0b2a8c9
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user