Browse Source

Fix cli user agent (#415)

* Fix cli user agent

* update jslib
pull/419/head
Matt Gibson 4 years ago committed by GitHub
parent
commit
4345a093b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jslib
  2. 2
      src/bw.ts

2
jslib

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit 386903f5a9ef42fed709813d40e550ba91c0ee40
Subproject commit e1c6e4973a2532b14e3187a79688e8b0a89e9d5c

2
src/bw.ts

@ -123,7 +123,7 @@ export class Main { @@ -123,7 +123,7 @@ export class Main {
this.environmentService = new EnvironmentService(this.storageService);
this.apiService = new NodeApiService(this.tokenService, this.platformUtilsService, this.environmentService,
async (expired: boolean) => await this.logout(),
'Bitwarden_CLI/' + this.platformUtilsService.getApplicationVersion() +
'Bitwarden_CLI/' + this.platformUtilsService.getApplicationVersionSync() +
' (' + this.platformUtilsService.getDeviceString().toUpperCase() + ')', (clientId, clientSecret) =>
this.authService.logInApiKey(clientId, clientSecret));
this.userService = new UserService(this.tokenService, this.storageService);

Loading…
Cancel
Save