refactor: improve type annotations in services and config
Some checks failed
CI / Get Changed Files (pull_request) Successful in 6s
CI / prettier (pull_request) Successful in 23s
CI / Checkstyle Main (pull_request) Successful in 31s
CI / eslint (pull_request) Successful in 1m30s
CI / test-build (pull_request) Failing after 1m43s

This commit is contained in:
Jan K9f 2025-04-02 16:15:31 +02:00
commit d3b7e7d5e7
Signed by: jank
GPG key ID: B9F475106B20F144
3 changed files with 7 additions and 5 deletions

View file

@ -43,7 +43,7 @@ export class UserService {
.pipe(tap((user) => this.currentUserSubject.next(user)));
}
public getOrCreateUser(profile: any): Observable<User> {
public getOrCreateUser(profile: Record<string, unknown>): Observable<User> {
console.log('Full authentik profile:', profile);
// Authentik format might differ from Keycloak
// Check different possible locations for the ID and username