From 1768cf6536a89cd033dac0378a948ac746df37ee Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Wed, 5 Mar 2025 12:08:06 +0100 Subject: [PATCH] style(user.service): fix string formatting in getCurrentUser method --- frontend/src/app/service/user.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/service/user.service.ts b/frontend/src/app/service/user.service.ts index b07cb15..20573ff 100644 --- a/frontend/src/app/service/user.service.ts +++ b/frontend/src/app/service/user.service.ts @@ -15,7 +15,7 @@ export class UserService { } public getCurrentUser(): Observable { - return this.http.get(`/backend/user`).pipe(catchError(() => EMPTY)); + return this.http.get('/backend/user').pipe(catchError(() => EMPTY)); } public createUser(id: string, username: string): Observable {