Skip to content

Commit

Permalink
Merge pull request #1469 from OpenSignLabs/uncompatible_pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-opensignlabs authored Nov 18, 2024
2 parents 40c2132 + 7c6a03a commit c8fae00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/OpenSignServer/cloud/parsefunction/pdf/PDF.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async function updateDoc(docId, url, userId, ipAddress, data, className, sign) {
async function sendNotifyMail(doc, signUser, mailProvider) {
try {
const auditTrailCount = doc?.AuditTrail?.filter(x => x.Activity === 'Signed')?.length || 0;
const signersCount = doc?.Signers?.length;
const signersCount = doc?.Placeholders?.length;
const remaingsign = signersCount - auditTrailCount;
if (remaingsign > 1 && doc?.NotifyOnSignatures) {
const sender = doc.ExtUserPtr;
Expand Down

0 comments on commit c8fae00

Please sign in to comment.