mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
Send email notification to signers on document signing completion with signed document
This commit is contained in:
@ -3,7 +3,7 @@ import { addDigitalSignature } from "@documenso/signing/addDigitalSignature";
|
||||
import { sendMail } from "./sendMail";
|
||||
import { Document as PrismaDocument } from "@prisma/client";
|
||||
|
||||
export const sendSigningDoneMail = async (recipient: any, document: PrismaDocument, user: any) => {
|
||||
export const sendSigningDoneMail = async (document: PrismaDocument, user: any) => {
|
||||
await sendMail(
|
||||
user.email,
|
||||
`Completed: "${document.title}"`,
|
||||
|
||||
Reference in New Issue
Block a user