mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-06-06 00:16:59 +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);
|
}, isFromExtension);
|
||||||
const { accepted } = resPermission;
|
const { accepted } = resPermission;
|
||||||
if (accepted) {
|
if (accepted) {
|
||||||
if (data.fileId && !data.encrypt) {
|
|
||||||
data64 = await getFileFromContentScript(data.fileId);
|
|
||||||
}
|
|
||||||
try {
|
try {
|
||||||
const resPublish = await publishData({
|
const resPublish = await publishData({
|
||||||
registeredName: encodeURIComponent(name),
|
registeredName: encodeURIComponent(name),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user