Comment cleanup
This commit is contained in:
parent
c1945b8ae9
commit
f9651c0492
|
@ -263,7 +263,6 @@ export const createCommentOrAnswerOrUpdatedContractNotification = async (
|
||||||
|
|
||||||
const recipientIdsList: string[] = []
|
const recipientIdsList: string[] = []
|
||||||
|
|
||||||
// get contract follower documents and check here if they're a follower
|
|
||||||
const contractFollowersSnap = await firestore
|
const contractFollowersSnap = await firestore
|
||||||
.collection(`contracts/${sourceContract.id}/follows`)
|
.collection(`contracts/${sourceContract.id}/follows`)
|
||||||
.get()
|
.get()
|
||||||
|
@ -327,7 +326,6 @@ export const createCommentOrAnswerOrUpdatedContractNotification = async (
|
||||||
}
|
}
|
||||||
if (sendToEmail) {
|
if (sendToEmail) {
|
||||||
if (sourceType === 'comment') {
|
if (sourceType === 'comment') {
|
||||||
// if the source contract is a free response contract, send the email
|
|
||||||
await sendNewCommentEmail(
|
await sendNewCommentEmail(
|
||||||
reason,
|
reason,
|
||||||
userId,
|
userId,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user