Use argument and not field
This commit is contained in:
@ -47,9 +47,9 @@ 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)).subscribe({
|
this.signingRequestDocumentService.patchSigningRequestDocument(signingRequestDocument.id, Array.of(patch)).subscribe({
|
||||||
next: (): void => {
|
next: (): void => {
|
||||||
this.selectedDocument.confirmed = true;
|
signingRequestDocument.confirmed = true;
|
||||||
},
|
},
|
||||||
error: (err: Error): void => {
|
error: (err: Error): void => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
Reference in New Issue
Block a user