This commit is contained in:
tiago.kayaya
2021-08-06 14:53:05 +01:00
parent b79f595a0f
commit 87dafef693
@@ -200,7 +200,7 @@ export class DespachoPage implements OnInit {
const loader = this.toastService.loading()
try {
await this.despachoService.executado(note, documents, this.serialnumber)
await this.despachoService.executado(note, documents, this.serialnumber).toPromise();
this.toastService.successMessage('Processo criado')
this.close();
} catch(error) {