diff --git a/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java b/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java index 13a1b7d..b93772d 100644 --- a/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java +++ b/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java @@ -120,9 +120,10 @@ public class Elaborator { DSMapper.getObjectMapper().writeValueAsString(aggregationStatus), Constant.UNIT_TO_SUBSTRACT_TO_CONSIDER_UNTERMINATED, Constant.CALENDAR_FIELD_TO_SUBSTRACT_TO_CONSIDER_UNTERMINATED==Calendar.HOUR_OF_DAY? "hours" : "unit"); return; - }else { - aggregationStatus.updateLastUpdateTime(true); } + + aggregationStatus.updateLastUpdateTime(true); + } String recordType = aggregationInfo.getRecordType();