1
0
mirror of https://github.com/pcvolkmer/mv64e-etl-processor synced 2025-09-13 01:02:50 +00:00

fix: remove policyRule at consent resource

This commit is contained in:
Jakub Lidke
2025-09-05 16:00:11 +02:00
parent ace5637ed8
commit 4bd6117ba8

View File

@@ -328,6 +328,8 @@ public class GicsConsentService implements IConsentService {
consentAsOne.getMeta().addProfile(BROAD_CONSENT_PROFILE_URI);
}
consentAsOne.setPolicyRule(null);
gIcsResultBundle.getEntry().stream().skip(1).forEach(c -> consentAsOne.getProvision().addProvision(((Consent) c.getResource()).getProvision().getProvisionFirstRep()));
gIcsResultBundle.getEntry().clear();