Checkpoint: Évolution du système de rappels pour permettre jusqu'à 2 pièces jointes au lieu d'une seule. Migration SQL appliquée en local et sur le VPS de production. Les rappels existants sont préservés.
This commit is contained in:
@@ -216,6 +216,9 @@ async function processRappel(rappel: any) {
|
||||
attachmentUrl: rappel.urlFichier || undefined,
|
||||
attachmentFilename: rappel.nomFichier || undefined,
|
||||
attachmentMimeType: rappel.typeFichier || undefined,
|
||||
attachmentUrl2: rappel.urlFichier2 || undefined,
|
||||
attachmentFilename2: rappel.nomFichier2 || undefined,
|
||||
attachmentMimeType2: rappel.typeFichier2 || undefined,
|
||||
});
|
||||
console.log(`[Rappels] Email ${rappel.templateType} envoyé à ${apprenant.email} pour la séquence ${sequence.nom}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user