Skip to content

Commit

Permalink
Merge pull request #203 from kaisersly/freemarker
Browse files Browse the repository at this point in the history
Permettre d'utiliser les built-ins Freemarker dans les templates #201
  • Loading branch information
smattsck authored Oct 14, 2024
2 parents 1143d20 + 1427b90 commit 644083b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private List<String> extractChamps(String texte) {
}

private void checkChamp(List<ParamConvention> champs, String champ) {
if (champs.stream().noneMatch(c -> c.getCode().equals(champ))) {
if (champs.stream().noneMatch(c -> c.getCode().equals(champ.split("\\?")[0]))) {
throw new AppException(HttpStatus.BAD_REQUEST, "Le champ personnalisé ${" + champ + "} n'existe pas");
}
}
Expand Down

0 comments on commit 644083b

Please sign in to comment.