From 475634c83b718fdf13c52d08861495c635c05fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Bret=C3=A9cher?= <95406348+nicobret@users.noreply.github.com> Date: Thu, 7 Nov 2024 19:37:16 +0100 Subject: [PATCH] up --- api/src/utils/pdf-renderer.ts | 2 +- api/src/young/youngCertificateService.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/utils/pdf-renderer.ts b/api/src/utils/pdf-renderer.ts index f1a236d5d6..540d2c78e2 100644 --- a/api/src/utils/pdf-renderer.ts +++ b/api/src/utils/pdf-renderer.ts @@ -101,7 +101,7 @@ export async function getAllPdfTemplates() { } await fs.mkdir(path.join(config.IMAGES_ROOTDIR, "convocation"), { recursive: true }); - for (const convoc of ["convocation/convocation_template_base_2024_V2.png", "convocation/convocation_template_base_NC.png"]) { + for (const convoc of ["convocation/convocation_template_base_2024_V3.png", "convocation/convocation_template_base_NC.png"]) { await getTemplate(convoc); } } diff --git a/api/src/young/youngCertificateService.ts b/api/src/young/youngCertificateService.ts index b97b25a311..23037258ea 100644 --- a/api/src/young/youngCertificateService.ts +++ b/api/src/young/youngCertificateService.ts @@ -12,7 +12,7 @@ export const getCertificateTemplate = (young: YoungDto) => { if (young.cohort === "Octobre 2023 - NC" && young.source !== "CLE") { return "convocation/convocation_template_base_NC.png"; } - return "convocation/convocation_template_base_2024_V2.png"; + return "convocation/convocation_template_base_2024_V3.png"; }; export const isLocalTransport = (young: YoungDto) => {