1
0
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:
Todd Martin
2025-02-01 19:10:22 -05:00
parent a2c6274821
commit a43adb9eae
3 changed files with 3 additions and 7 deletions

View File

@@ -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,

View File

@@ -410,7 +410,7 @@ const safeProviders: SafeProvider[] = [
safeProvider({
provide: AppIdServiceAbstraction,
useClass: AppIdService,
deps: [OBSERVABLE_DISK_STORAGE, LogService],
deps: [OBSERVABLE_DISK_STORAGE],
}),
safeProvider({
provide: AuditServiceAbstraction,

View File

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