From a43adb9eae13d5f84df4c2dab4b8dee4b82e237a Mon Sep 17 00:00:00 2001 From: Todd Martin Date: Sat, 1 Feb 2025 19:10:22 -0500 Subject: [PATCH] Removed log service that is no longer used --- apps/web/src/app/core/core.module.ts | 2 +- libs/angular/src/services/jslib-services.module.ts | 2 +- libs/common/src/platform/services/app-id.service.ts | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/apps/web/src/app/core/core.module.ts b/apps/web/src/app/core/core.module.ts index 7b567460dab..6d578fb592f 100644 --- a/apps/web/src/app/core/core.module.ts +++ b/apps/web/src/app/core/core.module.ts @@ -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, diff --git a/libs/angular/src/services/jslib-services.module.ts b/libs/angular/src/services/jslib-services.module.ts index 36082f879b9..082a5af604a 100644 --- a/libs/angular/src/services/jslib-services.module.ts +++ b/libs/angular/src/services/jslib-services.module.ts @@ -410,7 +410,7 @@ const safeProviders: SafeProvider[] = [ safeProvider({ provide: AppIdServiceAbstraction, useClass: AppIdService, - deps: [OBSERVABLE_DISK_STORAGE, LogService], + deps: [OBSERVABLE_DISK_STORAGE], }), safeProvider({ provide: AuditServiceAbstraction, diff --git a/libs/common/src/platform/services/app-id.service.ts b/libs/common/src/platform/services/app-id.service.ts index 52613de4ec7..305bf37df97 100644 --- a/libs/common/src/platform/services/app-id.service.ts +++ b/libs/common/src/platform/services/app-id.service.ts @@ -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 { return await this.getEnsuredValue(APP_ID_KEY);