From f9651c049204312c3bfe4f850d11cf626ff61cc0 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Fri, 9 Sep 2022 14:41:07 -0600 Subject: [PATCH] Comment cleanup --- functions/src/create-notification.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/functions/src/create-notification.ts b/functions/src/create-notification.ts index c7e30483..8c14cd8b 100644 --- a/functions/src/create-notification.ts +++ b/functions/src/create-notification.ts @@ -263,7 +263,6 @@ export const createCommentOrAnswerOrUpdatedContractNotification = async ( const recipientIdsList: string[] = [] - // get contract follower documents and check here if they're a follower const contractFollowersSnap = await firestore .collection(`contracts/${sourceContract.id}/follows`) .get() @@ -327,7 +326,6 @@ export const createCommentOrAnswerOrUpdatedContractNotification = async ( } if (sendToEmail) { if (sourceType === 'comment') { - // if the source contract is a free response contract, send the email await sendNewCommentEmail( reason, userId,