style: format code and improve readability

This commit is contained in:
Constantin Simonis 2025-05-07 13:42:41 +02:00
commit 51540c930b
No known key found for this signature in database
GPG key ID: 3878FF77C24AF4D2
12 changed files with 143 additions and 94 deletions

View file

@ -42,13 +42,4 @@ export class UserService {
this.currentUserSubject.next(updatedUser);
}
}
public createUser(id: string, username: string): Observable<User> {
return this.http
.post<User>('/backend/user', {
authentikId: id,
username: username,
})
.pipe(tap((user) => this.currentUserSubject.next(user)));
}
}