Bêtise réparée!
This commit is contained in:
parent
103294207a
commit
a9654e184b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ export class TodoService {
|
||||||
addTodoByTeamId(newtodoList: TodoList): Observable<any> {
|
addTodoByTeamId(newtodoList: TodoList): Observable<any> {
|
||||||
const teamId = this.tokenService.getCurrentTeamId();
|
const teamId = this.tokenService.getCurrentTeamId();
|
||||||
console.log(newtodoList);
|
console.log(newtodoList);
|
||||||
return this.http.post(`${this.apiUrl}/ad/todolistd/${teamId}`, newtodoList);
|
return this.http.post(`${this.apiUrl}/todolist/add/${teamId}`, newtodoList);
|
||||||
}
|
}
|
||||||
|
|
||||||
//suprime une todoList en fonction de son id
|
//suprime une todoList en fonction de son id
|
||||||
|
|
Loading…
Add table
Reference in a new issue