fix: minor updates

This commit is contained in:
Lucas Smith
2023-09-22 23:22:48 +10:00
committed by GitHub
parent 2c90f767fd
commit 0d130b17c8
3 changed files with 7 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ export const sendPendingEmail = async ({ documentId, recipientId }: SendPendingE
const { email, name } = recipient;
const assetBaseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000';
const assetBaseUrl = process.env.NEXT_PUBLIC_WEBAPP_URL || 'http://localhost:3000';
const template = createElement(DocumentPendingEmailTemplate, {
documentName: document.title,
@@ -57,7 +57,7 @@ export const sendPendingEmail = async ({ documentId, recipientId }: SendPendingE
name: process.env.NEXT_PRIVATE_SMTP_FROM_NAME || 'Documenso',
address: process.env.NEXT_PRIVATE_SMTP_FROM_ADDRESS || 'noreply@documenso.com',
},
subject: 'You are done signing.',
subject: 'Waiting for others to complete signing.',
html: render(template),
text: render(template, { plainText: true }),
});