style: Fix formatting and spacing in multiple files
Some checks failed
CI / Get Changed Files (pull_request) Successful in 7s
CI / prettier (pull_request) Successful in 22s
CI / Checkstyle Main (pull_request) Successful in 53s
CI / eslint (pull_request) Failing after 1m8s
CI / test-build (pull_request) Successful in 1m35s

This commit is contained in:
Jan K9f 2025-04-02 16:11:53 +02:00
commit 617654caeb
Signed by: jank
GPG key ID: B9F475106B20F144
5 changed files with 102 additions and 82 deletions

View file

@ -9,7 +9,7 @@ import { OAuthStorage, provideOAuthClient } from 'angular-oauth2-oidc';
import { httpInterceptor } from './shared/interceptor/http.interceptor';
function storageFactory() {
return new class implements OAuthStorage {
return new (class implements OAuthStorage {
private data: { [key: string]: string } = {};
getItem(key: string): string | null {
@ -17,13 +17,13 @@ function storageFactory() {
}
removeItem(key: string): void {
delete this.data[key]
delete this.data[key];
}
setItem(key: string, data: string): void {
this.data[key] = data;
}
}
})();
}
export const appConfig: ApplicationConfig = {
@ -37,6 +37,6 @@ export const appConfig: ApplicationConfig = {
{
provide: OAuthStorage,
useFactory: () => localStorage,
}
},
],
};