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
@@ -52,11 +52,7 @@ export default async function getReport(request) {
} else {
strParams = JSON.stringify({
...params,
CreatedBy: {
__type: 'Pointer',
className: '_User',
objectId: userId,
},
CreatedBy: { __type: 'Pointer', className: '_User', objectId: userId },
});
}
}
@@ -66,7 +62,7 @@ export default async function getReport(request) {
'X-Parse-Application-Id': appId,
'X-Parse-Master-Key': masterKey,
};
const url = `${serverUrl}/classes/${clsName}?where=${strParams}&keys=${strKeys}&order=${orderBy}&skip=${skip}&limit=${limit}&include=AuditTrail.UserPtr,Placeholders.signerPtr`;
const url = `${serverUrl}/classes/${clsName}?where=${strParams}&keys=${strKeys}&order=${orderBy}&skip=${skip}&limit=${limit}&include=AuditTrail.UserPtr,Placeholders.signerPtr,ExtUserPtr.TenantId`;
const res = await axios.get(url, { headers: headers });
if (res.data && res.data.results) {
return res.data.results;