mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
use message response
This commit is contained in:
parent
22062cc9f6
commit
c8a3058869
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit fc5fcb905fe465e99e85540f6b645c0f11b6704d
|
||||
Subproject commit cb7336c0e8ae1f0f74c76a4d6704555cc7440a3b
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user