core: increment progress even if file exists

This commit is contained in:
Abdullah Atta
2023-09-20 20:41:01 +05:00
committed by Ammar Ahmed
parent 08296793f1
commit da06184d51

View File

@@ -37,6 +37,7 @@ export default class FileStorage {
for (const file of files) {
const { filename, metadata, chunkSize } = file;
if (await this.exists(filename)) {
current++;
EV.publish(EVENTS.fileDownloaded, {
success: true,
groupId,