mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-07-25 11:11:27 +00:00
fix duplicate
This commit is contained in:
@@ -650,9 +650,9 @@ export const publishMultipleQDNResources = async (data: any, sender) => {
|
|||||||
});
|
});
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// if (data.file) {
|
if (resource.fileId) {
|
||||||
// data64 = await getFileFromContentScript(resource.identifier + "_file");
|
data64 = await getFileFromContentScript(resource.fileId, sender);
|
||||||
// }
|
}
|
||||||
if (data.encrypt) {
|
if (data.encrypt) {
|
||||||
try {
|
try {
|
||||||
const encryptDataResponse = encryptDataGroup({
|
const encryptDataResponse = encryptDataGroup({
|
||||||
@@ -672,11 +672,7 @@ export const publishMultipleQDNResources = async (data: any, sender) => {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (resource.fileId && !data.encrypt) {
|
|
||||||
|
|
||||||
data64 = await getFileFromContentScript(resource.fileId, sender);
|
|
||||||
|
|
||||||
}
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
await publishData({
|
await publishData({
|
||||||
|
Reference in New Issue
Block a user