read status

This commit is contained in:
Timur Ercan
2023-01-27 18:31:40 +01:00
parent 59f5297dd7
commit 48a8fce724
2 changed files with 21 additions and 1 deletions

View File

@ -6,6 +6,6 @@ export const sendSignedMail = async (document: any, recipient: any) => {
await sendMail(
document.user.email,
`${recipient.email} signed ${document.title}`,
`Hi ${document.user.name}, ${recipient.email} has signed your document ${document.title}. Click <a href="${NEXT_PUBLIC_WEBAPP_URL}/document/${document.id}"> VIEW DOCUMENT</a> to view it now.`
`Hi ${document.user.name}, ${recipient.email} has signed your document ${document.title}. Click <a href="${NEXT_PUBLIC_WEBAPP_URL}/document/${document.id}?token=${recipient.token}"> VIEW DOCUMENT</a> to view it now.`
);
};