From d6e06f3594f1b87c2cab940b0773c34aa7d75ada Mon Sep 17 00:00:00 2001 From: NicolasCantu Date: Tue, 10 Jun 2025 13:19:57 +0200 Subject: [PATCH] Generate the pdf beside the json file --- src/pages/account/process-creation.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/account/process-creation.ts b/src/pages/account/process-creation.ts index 3efa382..586a108 100644 --- a/src/pages/account/process-creation.ts +++ b/src/pages/account/process-creation.ts @@ -70,6 +70,9 @@ export async function getProcessCreation(container: HTMLElement) { setTimeout(() => URL.revokeObjectURL(link.href), 1000); } + + await service.generateProcessPdf(processId, newState); + // Add processId to the state we export newState['process_id'] = processId; const blob = new Blob([JSON.stringify(newState, null, 2)], { type: 'application/json' });