Use argument and not field

This commit is contained in:
2025-01-31 11:47:19 +01:00
parent d460809141
commit 4f1c9d5d06

View File

@ -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);