Skip to content

Commit

Permalink
replace deleted method readDocument(id) with resolve(id) (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulmth authored Jul 7, 2021
1 parent af3cb56 commit 5bf4a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/wasm/examples/resolution.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function resolution(clientConfig) {
const result = await manipulateIdentity(clientConfig);

// Resolve a DID.
return await client.readDocument(result.doc.id.toString());
return await client.resolve(result.doc.id.toString());
}

exports.resolution = resolution;

0 comments on commit 5bf4a16

Please sign in to comment.