Skip to content

Commit

Permalink
fix: hide other recipients
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck committed Oct 23, 2024
1 parent 9bcd3d7 commit 7149a39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/src/services/email.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export class EmailService {
void (await this.loadTranslations(jurisdiction));

await this.sendSES({
to: emails,
bcc: emails,
subject: this.polyglot.t('requestApproval.header'),
html: this.template('request-approval')({
appOptions: { listingName: listingInfo.name },
Expand All @@ -434,7 +434,7 @@ export class EmailService {
void (await this.loadTranslations(jurisdiction));

await this.sendSES({
to: emails,
bcc: emails,
subject: this.polyglot.t('changesRequested.header'),
html: this.template('changes-requested')({
appOptions: { listingName: listingInfo.name },
Expand All @@ -454,7 +454,7 @@ export class EmailService {
void (await this.loadTranslations(jurisdiction));

await this.sendSES({
to: emails,
bcc: emails,
subject: this.polyglot.t('listingApproved.header'),
html: this.template('listing-approved')({
appOptions: { listingName: listingInfo.name },
Expand Down Expand Up @@ -613,7 +613,7 @@ export class EmailService {
appUrl: string,
) {
await this.sendSES({
to: emails,
bcc: emails,
subject: this.polyglot.t('lotteryReleased.header', {
listingName: listingInfo.name,
}),
Expand All @@ -635,7 +635,7 @@ export class EmailService {
]);
void (await this.loadTranslations(jurisdiction));
await this.sendSES({
to: emails,
bcc: emails,
subject: this.polyglot.t('lotteryPublished.header', {
listingName: listingInfo.name,
}),
Expand Down

0 comments on commit 7149a39

Please sign in to comment.