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 {