1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

Fix cli user agent (#415)

* Fix cli user agent

* update jslib
This commit is contained in:
Matt Gibson
2021-11-23 15:13:29 -06:00
committed by GitHub
parent 62a3ea5699
commit 4345a093b7
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: 386903f5a9...e1c6e4973a

View File

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