début add Member

This commit is contained in:
HarmandI 2022-01-20 18:01:32 +01:00
parent 8d5cd03d33
commit 5904f64103
7 changed files with 248 additions and 13 deletions

View file

@ -20,7 +20,7 @@ export class AuthService {
signup(membre: Membre): Observable<any> {
console.log(membre);
return this.http.post(`${this.apiUrl}/creation-compte`, membre);
return this.http.post(`${this.apiUrl}/membres/sign-up`, membre);
}
signin(email: string, password: string): Observable<any> {
@ -55,4 +55,11 @@ export class AuthService {
return this.http.post(`${this.apiUrl}/forgot-psw`, body);
}
addMember(membre: Membre): Observable<any> {
console.log(membre);
return this.http.post(`${this.apiUrl}/tableau-de-bord`, membre);
}
}