Skip to content

Commit

Permalink
fix(export): fields to camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanngab committed Oct 22, 2024
1 parent e12e9cd commit 65cd98b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/services/campagnes.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,9 @@ const getXlsxMultipleExport = async (campagneIds = []) => {
temoignagesCount: campagne.temoignagesCount,
onisepUrl: campagne.etablissement?.onisepUrl,
rncpCode: campagne.formation?.rncpCode,
certifInfo: campagne.formation?.id_certifinfo,
certifInfo: campagne.formation?.idCertifinfo,
cfd: campagne.formation?.cfd,
mef: campagnes.formation?.bcn_mefs_10?.length ? campagnes.formation.bcn_mefs_10[0]?.mef10 : "",
mef: campagnes.formation?.bcnMefs10?.length ? campagnes.formation.bcnMefs10[0]?.mef10 : "",
}));

const generatedXlsx = await xlsxExport.generateMultipleCampagnes(formattedCampagnes);
Expand Down

0 comments on commit 65cd98b

Please sign in to comment.