Futa Arai před 1 rokem
rodič
revize
fcb2727a70
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      apps/pdf-converter/src/controllers/pdf.ts

+ 1 - 1
apps/pdf-converter/src/controllers/pdf.ts

@@ -36,7 +36,7 @@ class PdfCtrl {
   ): Promise<{ status: JobStatus } | undefined> {
     const expirationDate = new Date(expirationDateStr);
     try {
-      await this.pdfConvertService.registerOrUpdateJob(orgId, appId, jobId, expirationDate, growiJobStatus);
+      await this.pdfConvertService.registerOrUpdateJob(jobId, expirationDate, growiJobStatus, orgId, appId);
       const status = this.pdfConvertService.getJobStatus(jobId); // get status before cleanup
       this.pdfConvertService.cleanUpJobList();
       return { status };