From fb90bbfd7a090c827ca38870aeaa4d16d5c88fec Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 12 Dec 2024 18:52:33 -0500 Subject: [PATCH] tsc --- server/emails/templates/CommentCreatedEmail.tsx | 2 +- server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/emails/templates/CommentCreatedEmail.tsx b/server/emails/templates/CommentCreatedEmail.tsx index e5531a5dca..3396caa272 100644 --- a/server/emails/templates/CommentCreatedEmail.tsx +++ b/server/emails/templates/CommentCreatedEmail.tsx @@ -24,7 +24,7 @@ type InputProps = EmailProps & { type BeforeSend = { document: Document; - collection: Collection; + collection: Collection | null; body: string | undefined; isFirstComment: boolean; isReply: boolean; diff --git a/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx b/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx index 32fbdb60b6..87057dcff5 100644 --- a/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx +++ b/server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx @@ -31,7 +31,7 @@ type InputProps = EmailProps & { type BeforeSend = { document: Document; - collection: Collection; + collection: Collection | null; unsubscribeUrl: string; body: string | undefined; };