Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
add assertion comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmross committed Dec 4, 2023
1 parent 82219f8 commit d2f95aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dids/OracleDidResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ export class OracleDidResolver implements DidResolver {

const didDocument = await oracleLedgerService.resolve(did);

// TEMP : add assertion here
const didDocumentJson = JsonTransformer.fromJSON(didDocument, DidDocument)

didDocumentJson.assertionMethod = [didDocument.verificationMethod[0].id];

return {
didDocument: didDocumentJson,
didDocument: didDocumentJson, // JsonTransformer.fromJSON(didDocument, DidDocument)
didDocumentMetadata: {},
didResolutionMetadata: {},
};
Expand Down

0 comments on commit d2f95aa

Please sign in to comment.