feat: dialog to enter custom recipients for creating document from template

This commit is contained in:
Ephraim Atta-Duncan
2024-02-20 19:11:12 +00:00
parent 4d286e01d1
commit 6ee896048e
6 changed files with 270 additions and 53 deletions

View File

@ -52,6 +52,7 @@ export const templateRouter = router({
return await createDocumentFromTemplate({
templateId,
userId: ctx.user.id,
recipients: input.recipients,
});
} catch (err) {
throw new TRPCError({