1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-11 05:43:20 +00:00

use message response

This commit is contained in:
Kyle Spearrin
2019-01-15 11:55:12 -05:00
parent 22062cc9f6
commit c8a3058869
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ export class Program {
.option('--check', 'Check login status.', async () => {
const authed = await this.main.userService.isAuthenticated();
if (authed) {
const res = new StringResponse('You are logged in!');
const res = new MessageResponse('You are logged in!', null);
this.processResponse(Response.success(res), true);
}
this.processResponse(Response.error('You are not logged in.'), true);