Skip to content

Commit

Permalink
ESTAGE-295 config / theme - fix erreur lors de l'enregistrement du th…
Browse files Browse the repository at this point in the history
…eme quand il n'existe pas en base de données
  • Loading branch information
ssound committed Nov 30, 2022
1 parent c90466f commit dc5d6cd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ public ConfigThemeDto updateTheme(@RequestParam String data, @RequestParam(requi
if (appConfig == null) {
appConfig = new AppConfig();
appConfig.setCode(AppConfigCodeEnum.THEME);
appConfig.setParametres(mapper.writeValueAsString(configThemeDto));
appConfigJpaRepository.saveAndFlush(appConfig);
}
configThemeDto.setDateModification(new Date());

Expand Down

0 comments on commit dc5d6cd

Please sign in to comment.