refactor: remove unnecessary code
This commit is contained in:
prafull-opensignlabs
2025-02-13 11:15:39 +00:00
parent 031673f925
commit e9d0af7abb
17 changed files with 1375 additions and 581 deletions
@@ -246,7 +246,7 @@ async function sendMailsaveCertifcate(
P12Buffer,
isCustomMail,
mailProvider,
filename
filename,
) {
const certificate = await GenerateCertificate(doc);
const certificatePdf = await PDFDocument.load(certificate);
@@ -440,7 +440,7 @@ async function PDF(req) {
P12Buffer,
isCustomMail,
mailProvider,
name
name,
);
}
// `fs.unlinkSync` is used to remove exported signed pdf file from exports folder