From da047eef70296e74384a40cd85c0c9358e6a74e0 Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Wed, 19 Feb 2025 12:31:07 +0100 Subject: [PATCH] style: prettier --- frontend/src/app/app.routes.ts | 2 +- frontend/src/app/service/user.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index c7cfcf3..6fbef95 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -10,7 +10,7 @@ export const routes: Routes = [ { path: 'login/success', loadComponent: () => import('./feature/login-success/login-success.component'), - }, + }, { path: 'home', loadComponent: () => import('./feature/home/home.component'), diff --git a/frontend/src/app/service/user.service.ts b/frontend/src/app/service/user.service.ts index 2f9c22f..ba6bead 100644 --- a/frontend/src/app/service/user.service.ts +++ b/frontend/src/app/service/user.service.ts @@ -31,7 +31,7 @@ export class UserService { if (user) { return user; } - + return await this.createUser(userProfile.id ?? '', userProfile.username ?? '').toPromise(); }); }