File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
src/routes/projectMemberInvites Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 53
53
"whitelistedOriginsForUserIdAuth" : " [\" https:\/\/ topcoder-newauth.auth0.com\/\" ,\" https:\/\/ api.topcoder-dev.com\" ]" ,
54
54
"AUTH0_PROXY_SERVER_URL" : " " ,
55
55
"EMAIL_INVITE_FROM_NAME" :" Topcoder" ,
56
- "EMAIL_INVITE_FROM_EMAIL" :" noreply@connect.topcoder.com"
56
+ "EMAIL_INVITE_FROM_EMAIL" :" noreply@connect.topcoder.com" ,
57
+ "CONNECT_URL" :" https://connect.topcoder-dev.com"
57
58
58
59
}
Original file line number Diff line number Diff line change @@ -155,9 +155,20 @@ module.exports = [
155
155
createEvent ( emailEventType ,
156
156
{
157
157
data : {
158
- date : ( new Date ( ) ) . toISOString ( ) ,
159
- projectName : _project . name ,
160
- projectId,
158
+ connectURL : config . get ( 'CONNECT_URL' ) ,
159
+ projects : [
160
+ {
161
+ name : _project . name ,
162
+ projectId,
163
+ sections : [
164
+ {
165
+ EMAIL_INVITES : true ,
166
+ projectName : _project . name ,
167
+ projectId,
168
+ } ,
169
+ ] ,
170
+ } ,
171
+ ] ,
161
172
} ,
162
173
recipients : [ v . email ] ,
163
174
version : 'v3' ,
You can’t perform that action at this time.
0 commit comments