Skip to content

Commit

Permalink
fix: add lower case on effectifv2 (#3782)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Gaucher <[email protected]>
  • Loading branch information
Pomarom and Pomarom authored Jul 31, 2024
1 parent fc43360 commit 65c7bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/common/actions/v2/effectif.v2.actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const getOrCreateEffectifV2 = async (
) => {
const effectif = await effectifV2Db().findOne({
formation_id: formation_id,
"_computed.nom": nom,
"_computed.prenom": prenom,
"_computed.nom": nom.toLowerCase(),
"_computed.prenom": prenom.toLowerCase(),
"_computed.date_de_naissance": date_de_naissance,
});

Expand Down

0 comments on commit 65c7bf8

Please sign in to comment.