Actually implement request..
This commit is contained in:
@ -47,7 +47,13 @@ export class SigningComponent implements OnInit {
|
|||||||
const patch: PatchOperation = {
|
const patch: PatchOperation = {
|
||||||
op: "replace", path: "/confirmed", value: "true"
|
op: "replace", path: "/confirmed", value: "true"
|
||||||
}
|
}
|
||||||
this.signingRequestDocumentService.patchSigningRequestDocument(this.selectedDocument.id, Array.of(patch));
|
this.signingRequestDocumentService.patchSigningRequestDocument(this.selectedDocument.id, Array.of(patch)).subscribe({
|
||||||
this.selectedDocument.confirmed = true;
|
next: (): void => {
|
||||||
|
this.selectedDocument.confirmed = true;
|
||||||
|
},
|
||||||
|
error: (err: Error): void => {
|
||||||
|
console.log(err);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user