Bêtise réparée!

This commit is contained in:
HarmandI 2022-03-13 20:55:29 +01:00
parent 103294207a
commit a9654e184b

View File

@ -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