Skip to content

Commit fe15814

Browse files
committed
fixing message names
1 parent 900244d commit fe15814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/identities/CommandAuthenticate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class CommandAuthenticate extends CommandPolykey {
6565
process.stdout.write(
6666
binUtils.outputFormatter({
6767
type: options.format === 'json' ? 'json' : 'list',
68-
data: [`Your device code is: ${codeMessage!.getMessage()}`],
68+
data: [`Your device code is: ${codeMessage!.getIdentityId()}`],
6969
}),
7070
);
7171
return (await stream.next()).value;
@@ -77,7 +77,7 @@ class CommandAuthenticate extends CommandPolykey {
7777
binUtils.outputFormatter({
7878
type: options.format === 'json' ? 'json' : 'list',
7979
data: [
80-
`Successfully authenticated user: ${successMessage!.getMessage()}`,
80+
`Successfully authenticated user: ${successMessage!.getIdentityId()}`,
8181
],
8282
}),
8383
);

0 commit comments

Comments
 (0)