File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export class WinningsService {
65
65
try {
66
66
await this . tcEmailService . sendEmail (
67
67
member . email ,
68
- ENV_CONFIG . SENDGRIPD_TEMPLATE_ID_SETUP_NOTIFICATION ,
68
+ ENV_CONFIG . SENDGRID_TEMPLATE_ID_SETUP_NOTIFICATION ,
69
69
{
70
70
data : {
71
71
user_name : member . firstName || member . handle || member . lastName ,
Original file line number Diff line number Diff line change @@ -74,17 +74,17 @@ export class ConfigEnv {
74
74
75
75
@IsString ( )
76
76
@IsOptional ( )
77
- TC_EMAIl_NOTIFICATIONS_TOPIC = 'external.action.email' ;
77
+ TC_EMAIL_NOTIFICATIONS_TOPIC = 'external.action.email' ;
78
78
79
79
@IsString ( )
80
80
@IsOptional ( )
81
- TC_EMAIl_FROM_NAME = 'Topcoder' ;
81
+ TC_EMAIL_FROM_NAME = 'Topcoder' ;
82
82
83
83
@IsString ( )
84
84
@IsNotEmpty ( )
85
- TC_EMAIl_FROM_EMAIL : string ;
85
+ TC_EMAIL_FROM_EMAIL : string ;
86
86
87
87
@IsString ( )
88
- SENDGRIPD_TEMPLATE_ID_SETUP_NOTIFICATION =
88
+ SENDGRID_TEMPLATE_ID_SETUP_NOTIFICATION =
89
89
'd-919e01f1314e44439bc90971b55f7db7' ;
90
90
}
Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ export class TopcoderEmailService {
35
35
36
36
try {
37
37
await this . tcBusService . createEvent (
38
- ENV_CONFIG . TC_EMAIl_NOTIFICATIONS_TOPIC ,
38
+ ENV_CONFIG . TC_EMAIL_NOTIFICATIONS_TOPIC ,
39
39
{
40
40
...data ,
41
41
recipients,
42
42
sendgrid_template_id : sendgridTemplateId ,
43
43
version : 'v3' ,
44
44
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 ,
47
47
} ,
48
48
} ,
49
49
) ;
You can’t perform that action at this time.
0 commit comments