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
@@ -99,7 +99,7 @@ const sendMailToAllSigners = async docId => {
try {
//get document details that recenlty created from public template
const docQuery = new Parse.Query('contracts_Document');
docQuery.include('ExtUserPtr');
docQuery.include('ExtUserPtr,ExtUserPtr.TenantId');
docQuery.include('Signers');
const docRes = await docQuery.get(docId, { useMasterKey: true });
const Doc = JSON.parse(JSON.stringify(docRes));