début add Member
This commit is contained in:
parent
8d5cd03d33
commit
5904f64103
7 changed files with 248 additions and 13 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue