Skip to content

Commit

Permalink
Merge branch 'feat/page-bulk-export' into pdf-convert
Browse files Browse the repository at this point in the history
  • Loading branch information
arafubeatbox committed Sep 12, 2024
2 parents f33296b + 31b17d0 commit 23f16e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class PageBulkExportJobCronService extends CronService {
});

if (pageBulkExportService != null) {
await this.cleanUpAndDeleteBulkExportJobs(expiredExportJobs, pageBulkExportService?.cleanUpExportJobResources);
await this.cleanUpAndDeleteBulkExportJobs(expiredExportJobs, pageBulkExportService.cleanUpExportJobResources.bind(pageBulkExportService));
}
}

Expand Down Expand Up @@ -87,7 +87,7 @@ class PageBulkExportJobCronService extends CronService {
const failedExportJobs = await PageBulkExportJob.find({ status: PageBulkExportJobStatus.failed });

if (pageBulkExportService != null) {
await this.cleanUpAndDeleteBulkExportJobs(failedExportJobs, pageBulkExportService.cleanUpExportJobResources);
await this.cleanUpAndDeleteBulkExportJobs(failedExportJobs, pageBulkExportService.cleanUpExportJobResources.bind(pageBulkExportService));
}
}

Expand Down

0 comments on commit 23f16e8

Please sign in to comment.