Skip to content

Commit 24f0d33

Browse files
committed
rename env var
1 parent 031731c commit 24f0d33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/winnings/winnings.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class WinningsService {
6565
try {
6666
await this.tcEmailService.sendEmail(
6767
member.email,
68-
ENV_CONFIG.SENDGRID_TEMPLATE_ID_SETUP_NOTIFICATION,
68+
ENV_CONFIG.SENDGRID_TEMPLATE_ID_PAYMENT_SETUP_NOTIFICATION,
6969
{
7070
data: {
7171
user_name: member.firstName || member.handle || member.lastName,

src/config/config.env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ export class ConfigEnv {
8585
TC_EMAIL_FROM_EMAIL: string;
8686

8787
@IsString()
88-
SENDGRID_TEMPLATE_ID_SETUP_NOTIFICATION =
88+
SENDGRID_TEMPLATE_ID_PAYMENT_SETUP_NOTIFICATION =
8989
'd-919e01f1314e44439bc90971b55f7db7';
9090
}

0 commit comments

Comments
 (0)