File tree 2 files changed +3
-3
lines changed
mon-aide-cyber-api/src/api
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export const routesAPIAnnuaireAidants = (
48
48
validateurDeDepartement ( {
49
49
nomChamp : 'departement' ,
50
50
emplacement : 'PARAMETRE_REQUETE' ,
51
- presence : 'OPTIONELLE ' ,
51
+ presence : 'OPTIONNELLE ' ,
52
52
} ) ,
53
53
async (
54
54
requete : Request ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { departements } from '../../gestion-demandes/departements';
4
4
type CriteresDeValidation = {
5
5
emplacement : 'CORPS' | 'PARAMETRE_REQUETE' ;
6
6
nomChamp : string ;
7
- presence : 'OPTIONELLE ' | 'OBLIGATOIRE' ;
7
+ presence : 'OPTIONNELLE ' | 'OBLIGATOIRE' ;
8
8
} ;
9
9
10
10
export const validateurDeDepartement = (
@@ -24,7 +24,7 @@ export const validateurDeDepartement = (
24
24
? body ( criteres . nomChamp )
25
25
: query ( criteres . nomChamp ) ;
26
26
27
- if ( criteres . presence === 'OPTIONELLE ' ) {
27
+ if ( criteres . presence === 'OPTIONNELLE ' ) {
28
28
chaineDeValidation = chaineDeValidation . optional ( ) ;
29
29
}
30
30
You can’t perform that action at this time.
0 commit comments