Skip to content

Commit

Permalink
Merge pull request #21 from mistermoe/patch-1
Browse files Browse the repository at this point in the history
Fix adding a `capabilityDelegation` verification method to DID Document
  • Loading branch information
peacekeeper authored Oct 14, 2023
2 parents 754dd36 + 883d6c8 commit 80ffbcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/foundation/identity/did/DIDDocument.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public B capabilityDelegationVerificationMethods(List<VerificationMethod> capabi
}

public B capabilityDelegationVerificationMethod(VerificationMethod capabilityDelegationVerificationMethod) {
return this.capabilityInvocationVerificationMethods(capabilityDelegationVerificationMethod == null ? null : Collections.singletonList(capabilityDelegationVerificationMethod));
return this.capabilityDelegationVerificationMethods(capabilityDelegationVerificationMethod == null ? null : Collections.singletonList(capabilityDelegationVerificationMethod));
}

public B services(List<Service> services) {
Expand Down

0 comments on commit 80ffbcb

Please sign in to comment.