We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab4ff0 commit 5060b2dCopy full SHA for 5060b2d
src/main/java/com/danubetech/verifiablecredentials/CredentialSubject.java
@@ -99,7 +99,7 @@ public static void removeFromJsonLdObject(JsonLDObject jsonLdObject) {
99
100
public Map<String, Object> getClaims() {
101
Map<String, Object> claims = new LinkedHashMap<>(this.getJsonObject());
102
- for (String key : claims.keySet()) if (Keywords.contains(key)) claims.remove(key);
+ for (String key : this.getJsonObject().keySet()) if (Keywords.contains(key)) claims.remove(key);
103
claims.remove(JsonLDKeywords.JSONLD_TERM_ID);
104
claims.remove(JsonLDKeywords.JSONLD_TERM_TYPE);
105
return claims;
0 commit comments