diff --git a/projects/common/src/fm/services/user.service.ts b/projects/common/src/fm/services/user.service.ts index d6c7add..2986fb1 100644 --- a/projects/common/src/fm/services/user.service.ts +++ b/projects/common/src/fm/services/user.service.ts @@ -16,10 +16,10 @@ export class UserService { } getCurrentUser(): Observable { - return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/currentuser`); + return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/users/currentuser`); } updateCurrentUser(user: IUser): Observable { - return this.httpClient.put(`${this.ApiEndpoint()}/api/v1/currentuser`, user); + return this.httpClient.put(`${this.ApiEndpoint()}/api/v1/users/${user.code}`, user); } }