This commit is contained in:
tiago.kayaya
2021-06-14 14:43:57 +01:00
parent 519d7081b0
commit 55918ffefb
2 changed files with 21 additions and 3 deletions
@@ -216,7 +216,6 @@ export class CreateProcessPage implements OnInit {
DispatchFolder: this.dispatchFolder,
}
console.log(this.postData);
await this.processes.postParecer(this.postData).toPromise()
try {
await this.processes.postParecer(this.postData).toPromise();
@@ -241,7 +240,7 @@ export class CreateProcessPage implements OnInit {
try {
await this.processes.postDeferimento(this.postData).toPromise();
//this.executado();
this.executado();
this.toastService.successMessage('Pedido de Deferimento criado');
}
catch (error) {