Skip to content

Commit

Permalink
Permettre d'utiliser les built-ins Freemarker dans les templates #201
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisersly committed Oct 4, 2024
1 parent 1143d20 commit 1427b90
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 1427b90

Please sign in to comment.