Merge pull request #10 from AlineRinquin/sana

creation-team connection back ok
This commit is contained in:
AlineRinquin 2022-01-21 14:59:46 +01:00 committed by GitHub
commit 241b71e566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#4950a1"
}
}

View File

@ -1,2 +1,7 @@
<app-header></app-header>
<app-side-bar></app-side-bar>
<app-side-bar></app-side-bar>
<div class="d-flex justify-content-center">
<button button type="button" class="btn btn-primary btn-lg"
routerLink="../creation-team"
routerLinkActive="active-custom">Créer ma team</button>
</div>

View File

@ -64,7 +64,7 @@ export class AuthService {
creationTeam(team: Team): Observable<any> {
console.log(team);
return this.http.post(`${this.apiUrl}/creation-compte`, team);
return this.http.post(`${this.apiUrl}/teams/add`, team);
}