From 0842f66df87f30f9e7cdda953a7a0ea843fff9de Mon Sep 17 00:00:00 2001 From: Julien Martin Date: Fri, 25 Sep 2026 10:54:02 +0200 Subject: [PATCH] fix: typage comment insert card_responses Co-authored-by: Cursor --- backend/src/modules/cards/cards.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/modules/cards/cards.service.ts b/backend/src/modules/cards/cards.service.ts index 5d70403..6f4c734 100644 --- a/backend/src/modules/cards/cards.service.ts +++ b/backend/src/modules/cards/cards.service.ts @@ -208,7 +208,7 @@ export class CardsService { id_card: card.id, id_utilisateur: userId, action: dto.action, - comment: dto.comment?.trim() || null, + comment: dto.comment?.trim() || undefined, }); if (card.id_absence) {