mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
🚧
This commit is contained in:
@ -43,7 +43,11 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
fieldId: signature.fieldId,
|
||||
signatureImageAsBase64: signature.signatureImage
|
||||
? signature.signatureImage
|
||||
: text2png(signature.typedSignature).toString("base64"),
|
||||
: text2png(signature.typedSignature, {
|
||||
color: "black",
|
||||
lineSpacing: 10,
|
||||
padding: 20,
|
||||
}).toString("base64"),
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user