diff --git a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java index d7dbe61d1..203bbb777 100644 --- a/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java +++ b/irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policystore/services/PolicyStoreService.java @@ -182,7 +182,7 @@ public List getConfiguredDefaultPolicies() { public Map> getAllStoredPolicies() { final Map> bpnToPolicies = persistence.readAll(); if (containsNoDefaultPolicyAvailable(bpnToPolicies)) { - bpnToPolicies.put("default", allowedPoliciesFromConfig); + bpnToPolicies.put(DEFAULT, allowedPoliciesFromConfig); } return bpnToPolicies; }