1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-19 02:51:14 +02: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

2
jslib

@ -1 +1 @@
Subproject commit fc5fcb905fe465e99e85540f6b645c0f11b6704d
Subproject commit cb7336c0e8ae1f0f74c76a4d6704555cc7440a3b

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);