mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
Removed log service that is no longer used
This commit is contained in:
@@ -279,7 +279,7 @@ const safeProviders: SafeProvider[] = [
|
||||
safeProvider({
|
||||
provide: AppIdService,
|
||||
useClass: DefaultAppIdService,
|
||||
deps: [OBSERVABLE_DISK_LOCAL_STORAGE, LogService],
|
||||
deps: [OBSERVABLE_DISK_LOCAL_STORAGE],
|
||||
}),
|
||||
safeProvider({
|
||||
provide: LoginComponentService,
|
||||
|
||||
@@ -410,7 +410,7 @@ const safeProviders: SafeProvider[] = [
|
||||
safeProvider({
|
||||
provide: AppIdServiceAbstraction,
|
||||
useClass: AppIdService,
|
||||
deps: [OBSERVABLE_DISK_STORAGE, LogService],
|
||||
deps: [OBSERVABLE_DISK_STORAGE],
|
||||
}),
|
||||
safeProvider({
|
||||
provide: AuditServiceAbstraction,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { AppIdService as AppIdServiceAbstraction } from "../abstractions/app-id.service";
|
||||
import { LogService } from "../abstractions/log.service";
|
||||
import { AbstractStorageService } from "../abstractions/storage.service";
|
||||
import { Utils } from "../misc/utils";
|
||||
|
||||
@@ -7,10 +6,7 @@ export const APP_ID_KEY = "global_applicationId_appId";
|
||||
export const ANONYMOUS_APP_ID_KEY = "global_applicationId_appId";
|
||||
|
||||
export class AppIdService implements AppIdServiceAbstraction {
|
||||
constructor(
|
||||
private readonly storageService: AbstractStorageService,
|
||||
private readonly logService: LogService,
|
||||
) {}
|
||||
constructor(private readonly storageService: AbstractStorageService) {}
|
||||
|
||||
async getAppId(): Promise<string> {
|
||||
return await this.getEnsuredValue(APP_ID_KEY);
|
||||
|
||||
Reference in New Issue
Block a user