Skip to content
Snippets Groups Projects
Commit 9b1da971 authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix : remove useless call api

parent 056b85c3
No related branches found
No related tags found
3 merge requests!68Recette,!67Dev,!59Fix/bug-UselessCallApiAndStructureClaim
......@@ -11,9 +11,7 @@ import { UserRole } from '../../shared/enum/userRole.enum';
export class ProfileService {
private readonly baseUrl = 'api/users';
private currentProfile: User = null;
constructor(private http: HttpClient) {
this.getProfile();
}
constructor(private http: HttpClient) {}
public async getProfile(): Promise<User> {
// Get profil by API only on first time
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment