mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-26 01:22:31 +02:00
fix: show correct ipv4 address on completion certificate
This commit is contained in:
@@ -23,6 +23,7 @@ export default async function GenerateCertificate(docDetails) {
|
||||
const generateAt = new Date();
|
||||
const generatedUTCTime = generateAt.toUTCString();
|
||||
const generatedOn = 'Generated On ' + generatedUTCTime;
|
||||
const OriginIp = docDetails?.OriginIp || '';
|
||||
const company = docDetails?.ExtUserPtr?.Company || '';
|
||||
const auditTrail =
|
||||
docDetails.AuditTrail?.length > 1
|
||||
@@ -229,7 +230,7 @@ export default async function GenerateCertificate(docDetails) {
|
||||
font: timesRomanFont,
|
||||
color: textKeyColor,
|
||||
});
|
||||
page.drawText(`152.58.21.622`, {
|
||||
page.drawText(`${OriginIp}`, {
|
||||
x: 130,
|
||||
y: 505,
|
||||
size: text,
|
||||
|
||||
Reference in New Issue
Block a user