make improvements

This commit is contained in:
Tiago Kayaya
2020-11-09 14:00:10 +01:00
parent d3dd83c8a8
commit 247c6e0a51
15 changed files with 217 additions and 143 deletions
+5 -6
View File
@@ -88,13 +88,12 @@ export class ProcessesService {
const geturl = environment.apiURL + 'Tasks/Complete';
let options = {
headers: this.headers,
headers: this.headers,
};
return this.http.post<any>(`${geturl}`,body, options);
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
}
}