This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5153 from withspectrum/remove-bryn
Don't send Bryn too many emails
- Loading branch information
Showing
7 changed files
with
7 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,11 +34,7 @@ export default ( | |
try { | ||
return sendEmail({ | ||
templateId: ADMIN_ACTIVE_COMMUNITY_REPORT_TEMPLATE, | ||
to: [ | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
], | ||
to: [{ email: '[email protected] ' }, { email: '[email protected] ' }], | ||
dynamic_template_data: { | ||
subject: `Active Community Report: ${month} ${day}, ${year}`, | ||
data: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,7 @@ export default (job: Job<AdminCommunityCreatedEmailJobData>): Promise<void> => { | |
try { | ||
return sendEmail({ | ||
templateId: ADMIN_COMMUNITY_CREATED_TEMPLATE, | ||
to: [ | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
], | ||
to: [{ email: '[email protected] ' }, { email: '[email protected] ' }], | ||
dynamic_template_data: { | ||
subject: `New community: ${community.name}`, | ||
user: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,7 @@ export default (job: Job<AdminSlackImportJobData>): Promise<void> => { | |
try { | ||
return sendEmail({ | ||
templateId: ADMIN_SLACK_IMPORT_PROCESSED_TEMPLATE, | ||
to: [ | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
], | ||
to: [{ email: '[email protected] ' }, { email: '[email protected] ' }], | ||
dynamic_template_data: { | ||
subject, | ||
preheader, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,11 +27,7 @@ export default (job: Job<AdminToxicContentEmailJobData>): Promise<void> => { | |
try { | ||
return sendEmail({ | ||
templateId: ADMIN_TOXIC_MESSAGE_TEMPLATE, | ||
to: [ | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
], | ||
to: [{ email: '[email protected] ' }, { email: '[email protected] ' }], | ||
dynamic_template_data: { | ||
subject, | ||
preheader: text, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,11 +26,7 @@ export default async ( | |
try { | ||
return sendEmail({ | ||
templateId: ADMIN_USER_REPORTED_TEMPLATE, | ||
to: [ | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
], | ||
to: [{ email: '[email protected] ' }, { email: '[email protected] ' }], | ||
dynamic_template_data: { | ||
subject, | ||
preheader, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,7 @@ export default (job: Job<AdminUserSpammingThreadsJobData>): Promise<void> => { | |
try { | ||
return sendEmail({ | ||
templateId: ADMIN_USER_SPAMMING_THREADS_NOTIFICATION_TEMPLATE, | ||
to: [ | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
{ email: '[email protected] ' }, | ||
], | ||
to: [{ email: '[email protected] ' }, { email: '[email protected] ' }], | ||
dynamic_template_data: { | ||
subject, | ||
preheader, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters