1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

added device type header to requests

This commit is contained in:
Kyle Spearrin
2017-12-15 09:58:26 -05:00
parent 21963cb9d3
commit 58481633eb
2 changed files with 28 additions and 11 deletions

View File

@@ -75,7 +75,8 @@ export default class MainBackground {
this.cryptoService = new CryptoService();
this.tokenService = new TokenService();
this.appIdService = new AppIdService();
this.apiService = new ApiService(this.tokenService, (expired: boolean) => this.logout(expired));
this.apiService = new ApiService(this.tokenService, this.utilsService,
(expired: boolean) => this.logout(expired));
this.environmentService = new EnvironmentService(this.apiService);
this.userService = new UserService(this.tokenService);
this.settingsService = new SettingsService(this.userService);