Skip to content

Commit

Permalink
fixing message names
Browse files Browse the repository at this point in the history
  • Loading branch information
emmacasolin committed Dec 6, 2021
1 parent 900244d commit fe15814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/identities/CommandAuthenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class CommandAuthenticate extends CommandPolykey {
process.stdout.write(
binUtils.outputFormatter({
type: options.format === 'json' ? 'json' : 'list',
data: [`Your device code is: ${codeMessage!.getMessage()}`],
data: [`Your device code is: ${codeMessage!.getIdentityId()}`],
}),
);
return (await stream.next()).value;
Expand All @@ -77,7 +77,7 @@ class CommandAuthenticate extends CommandPolykey {
binUtils.outputFormatter({
type: options.format === 'json' ? 'json' : 'list',
data: [
`Successfully authenticated user: ${successMessage!.getMessage()}`,
`Successfully authenticated user: ${successMessage!.getIdentityId()}`,
],
}),
);
Expand Down

0 comments on commit fe15814

Please sign in to comment.