fix: email requesting signature shows "completed document" in preview… (#514)

This commit is contained in:
18feb06
2023-10-18 09:32:39 +05:00
committed by GitHub
parent 9434f9e2e4
commit 2c6849ca76

View File

@ -32,7 +32,7 @@ export const DocumentInviteEmailTemplate = ({
assetBaseUrl = 'http://localhost:3002',
customBody,
}: DocumentInviteEmailTemplateProps) => {
const previewText = `Completed Document`;
const previewText = `${inviterName} has invited you to sign ${documentName}`;
const getAssetUrl = (path: string) => {
return new URL(path, assetBaseUrl).toString();