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 Connect" ,
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 @@ -154,9 +154,20 @@ module.exports = [
154
154
createEvent ( PROJECT_MEMBER_EMAIL_INVITE_CREATED ,
155
155
{
156
156
data : {
157
- date : ( new Date ( ) ) . toISOString ( ) ,
158
- projectName : _project . name ,
159
- projectId,
157
+ connectURL : config . get ( 'CONNECT_URL' ) ,
158
+ projects : [
159
+ {
160
+ name : _project . name ,
161
+ projectId,
162
+ sections : [
163
+ {
164
+ EMAIL_INVITES : true ,
165
+ projectName : _project . name ,
166
+ projectId,
167
+ } ,
168
+ ] ,
169
+ } ,
170
+ ] ,
160
171
} ,
161
172
recipients : [ v . email ] ,
162
173
version : 'v3' ,
You can’t perform that action at this time.
0 commit comments