Skip to content

Commit

Permalink
Removed redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Sep 6, 2024
1 parent 6fec411 commit d784c65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/did.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,8 @@ export class DIDModule extends AbstractCheqdSDKModule {
if (
protobufDidDocument.service.length &&
!protobufDidDocument.context.includes(contexts.DIFDIDConfiguration)
) {
)
protobufDidDocument.context.push(contexts.DIFDIDConfiguration);
}

if (protobufDidDocument.context.includes(contexts.W3CDIDv1)) return protobufDidDocument.context;

Expand Down

0 comments on commit d784c65

Please sign in to comment.