Skip to content

Commit

Permalink
fix(ref-imp): fixed typo in long-form resolution log
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Apr 9, 2021
1 parent 9ee807f commit 9fb410c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/versions/1.0/RequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default class RequestHandler implements IRequestHandler {
* @returns [DID state, published]
*/
private async resolveLongFormDid (did: Did): Promise<[DidState | undefined, boolean]> {
Logger.info(`Handling long-form DID resolution of DID '${did}'...`);
Logger.info(`Handling long-form DID resolution of DID '${did.longForm}'...`);

// Attempt to resolve the DID by using operations found from the network first.
let didState = await this.resolver.resolve(did.uniqueSuffix);
Expand Down
2 changes: 1 addition & 1 deletion lib/core/versions/latest/RequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default class RequestHandler implements IRequestHandler {
* @returns [DID state, published]
*/
private async resolveLongFormDid (did: Did): Promise<[DidState | undefined, boolean]> {
Logger.info(`Handling long-form DID resolution of DID '${did}'...`);
Logger.info(`Handling long-form DID resolution of DID '${did.longForm}'...`);

// Attempt to resolve the DID by using operations found from the network first.
let didState = await this.resolver.resolve(did.uniqueSuffix);
Expand Down

0 comments on commit 9fb410c

Please sign in to comment.