From 8652aa2a469f8530ca1ffccdcef992c536fb91a4 Mon Sep 17 00:00:00 2001 From: Artur T <81235055+a-trzewik@users.noreply.github.com> Date: Thu, 29 Jul 2021 17:30:44 +0200 Subject: [PATCH] fix list update (#29) --- .../europa/ec/dgc/businessrule/service/ListSigningService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/europa/ec/dgc/businessrule/service/ListSigningService.java b/src/main/java/eu/europa/ec/dgc/businessrule/service/ListSigningService.java index c7ca83f..e83e0c3 100644 --- a/src/main/java/eu/europa/ec/dgc/businessrule/service/ListSigningService.java +++ b/src/main/java/eu/europa/ec/dgc/businessrule/service/ListSigningService.java @@ -45,6 +45,7 @@ public void updateSignedList(List list,ListType listType) { } else { if (!ruleList.get().getHash().equals(hash)) { ruleList.get().setHash(hash); + ruleList.get().setRawData(listRaw); calculateSignature(ruleList.get()); signedListRepository.save(ruleList.get()); }