Comment cleanup
This commit is contained in:
parent
c1945b8ae9
commit
f9651c0492
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user