feat: send completed mail to all signers

This commit is contained in:
prafull-opensignlabs
2024-10-10 12:50:26 +05:30
parent 9c1b4261dc
commit 2a3947ea1d
19 changed files with 25 additions and 16 deletions
@@ -54,7 +54,7 @@ export default async function linkContactToDoc(req) {
if (docId) {
// Execute the query to get the document with the specified 'docId'
const docQuery = new Parse.Query('contracts_Document');
docQuery.include('ExtUserPtr');
docQuery.include('ExtUserPtr,ExtUserPtr.TenantId');
const docRes = await docQuery.get(docId, { useMasterKey: true });
// Check if the document was found; if not, throw an error indicating the document was not found
if (!docRes) {