From 311e46043737266b5be22cf75cd6acb273347cb2 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Thu, 9 Feb 2023 18:52:23 +0100 Subject: [PATCH] send fix --- apps/web/pages/api/documents/[id]/send.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/pages/api/documents/[id]/send.ts b/apps/web/pages/api/documents/[id]/send.ts index 9a0e6961f..30dca9167 100644 --- a/apps/web/pages/api/documents/[id]/send.ts +++ b/apps/web/pages/api/documents/[id]/send.ts @@ -37,7 +37,7 @@ async function postHandler(req: NextApiRequest, res: NextApiResponse) { if (!recipients.length) return res.status(200).end(""); (await recipients).forEach(async (recipient) => { - await sendSigningRequest(recipient, document) + await sendSigningRequest(recipient, document, user) .then(() => { return res.status(200).end(); })