diff --git a/apps/client/src/app/services/settings-storage.service.ts b/apps/client/src/app/services/settings-storage.service.ts index 87d995d76..681552cf7 100644 --- a/apps/client/src/app/services/settings-storage.service.ts +++ b/apps/client/src/app/services/settings-storage.service.ts @@ -8,7 +8,7 @@ export const KEY_TOKEN = 'auth-token'; providedIn: 'root' }) export class SettingsStorageService { - public getSetting(aKey: string): string { + public getSetting(aKey: string): string | null { return window.localStorage.getItem(aKey); }