diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/docuSign/docuSignFns.ts | 4 | ||||
| -rw-r--r-- | lib/po/service.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/docuSign/docuSignFns.ts b/lib/docuSign/docuSignFns.ts index 87977a0b..75263b19 100644 --- a/lib/docuSign/docuSignFns.ts +++ b/lib/docuSign/docuSignFns.ts @@ -364,9 +364,9 @@ export async function getRecipients( }; } - const { autoRespondedReason, status } = signer; + const { autoRespondedReason } = signer; - if (autoRespondedReason || status === "status") { + if (autoRespondedReason) { return { result: false, message: autoRespondedReason, diff --git a/lib/po/service.ts b/lib/po/service.ts index dc398201..358f23d9 100644 --- a/lib/po/service.ts +++ b/lib/po/service.ts @@ -338,7 +338,7 @@ Remarks:${contract.remarks}`, envelopeId: envelopeId, envelopeStatus: "sent", fileName: `${contractNo}-signature.pdf`, // Required field - filePath: `/contracts/${validatedData.contractId}/signatures`, // Required field + filePath: `/contracts/${validatedData.contractId}/signatures/${contractNo}-signature.pdf`, // Required field // Add any other required fields based on your schema }) .returning(); |
