Futa Arai 2 лет назад
Родитель
Сommit
b7078cbece
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      apps/app/src/features/page-bulk-export/server/service/page-bulk-export.ts

+ 0 - 1
apps/app/src/features/page-bulk-export/server/service/page-bulk-export.ts

@@ -158,7 +158,6 @@ class PageBulkExportService {
             //     - The remaining chunk after upload will be added to buffer in the next iteration
             //     - The remaining chunk after upload will be added to buffer in the next iteration
             const dataSize = Math.min(this.partSize - filledPartSize, chunk.length - offset);
             const dataSize = Math.min(this.partSize - filledPartSize, chunk.length - offset);
             // Add chunk data to buffer
             // Add chunk data to buffer
-            // buffer = Buffer.concat([buffer, chunk.slice(offset, offset + dataSize)]);
             chunk.copy(part, filledPartSize, offset, offset + dataSize);
             chunk.copy(part, filledPartSize, offset, offset + dataSize);
             filledPartSize += dataSize;
             filledPartSize += dataSize;