Skip to content

Commit 031731c

Browse files
committed
fix typos
1 parent 067aacd commit 031731c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
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.SENDGRIPD_TEMPLATE_ID_SETUP_NOTIFICATION,
68+
ENV_CONFIG.SENDGRID_TEMPLATE_ID_SETUP_NOTIFICATION,
6969
{
7070
data: {
7171
user_name: member.firstName || member.handle || member.lastName,

src/config/config.env.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,17 @@ export class ConfigEnv {
7474

7575
@IsString()
7676
@IsOptional()
77-
TC_EMAIl_NOTIFICATIONS_TOPIC = 'external.action.email';
77+
TC_EMAIL_NOTIFICATIONS_TOPIC = 'external.action.email';
7878

7979
@IsString()
8080
@IsOptional()
81-
TC_EMAIl_FROM_NAME = 'Topcoder';
81+
TC_EMAIL_FROM_NAME = 'Topcoder';
8282

8383
@IsString()
8484
@IsNotEmpty()
85-
TC_EMAIl_FROM_EMAIL: string;
85+
TC_EMAIL_FROM_EMAIL: string;
8686

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

src/shared/topcoder/tc-email.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ export class TopcoderEmailService {
3535

3636
try {
3737
await this.tcBusService.createEvent(
38-
ENV_CONFIG.TC_EMAIl_NOTIFICATIONS_TOPIC,
38+
ENV_CONFIG.TC_EMAIL_NOTIFICATIONS_TOPIC,
3939
{
4040
...data,
4141
recipients,
4242
sendgrid_template_id: sendgridTemplateId,
4343
version: 'v3',
4444
from: {
45-
name: data.from?.name ?? ENV_CONFIG.TC_EMAIl_FROM_NAME,
46-
email: data.from?.email ?? ENV_CONFIG.TC_EMAIl_FROM_EMAIL,
45+
name: data.from?.name ?? ENV_CONFIG.TC_EMAIL_FROM_NAME,
46+
email: data.from?.email ?? ENV_CONFIG.TC_EMAIL_FROM_EMAIL,
4747
},
4848
},
4949
);

0 commit comments

Comments
 (0)