Naoki427 5 месяцев назад
Родитель
Сommit
97331539eb

+ 2 - 2
apps/app/src/features/audit-log-bulk-export/server/service/check-audit-log-bulk-export-job-in-progress-cron.ts

@@ -28,8 +28,8 @@ class CheckAuditLogBulkExportJobInProgressCronService extends CronService {
     const auditLogExportInProgressExists = auditLogExportJobInProgress != null;
 
     if (
-      auditLogExportInProgressExists
-      && !auditLogBulkExportJobCronService?.isJobRunning()
+      auditLogExportInProgressExists &&
+      !auditLogBulkExportJobCronService?.isJobRunning()
     ) {
       auditLogBulkExportJobCronService?.startCron();
     } else if (!auditLogExportInProgressExists) {