Bêtise réparée!
This commit is contained in:
parent
103294207a
commit
a9654e184b
@ -47,7 +47,7 @@ export class TodoService {
|
||||
addTodoByTeamId(newtodoList: TodoList): Observable<any> {
|
||||
const teamId = this.tokenService.getCurrentTeamId();
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user