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