File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -997,6 +997,7 @@ module.exports = (app, logger) => {
997
997
const email = resource . email ;
998
998
const status = resource . status ;
999
999
const role = resource . role ;
1000
+ const source = resource . source ;
1000
1001
1001
1002
models . Project . findOne ( {
1002
1003
where : { id : projectId } ,
@@ -1011,6 +1012,7 @@ module.exports = (app, logger) => {
1011
1012
role,
1012
1013
initiatorUserId : req . authUser . userId ,
1013
1014
isSSO : util . isSSO ( project ) ,
1015
+ source,
1014
1016
} , logger ) ;
1015
1017
} else {
1016
1018
// send event to bus api
@@ -1021,6 +1023,7 @@ module.exports = (app, logger) => {
1021
1023
role,
1022
1024
initiatorUserId : req . authUser . userId ,
1023
1025
isSSO : util . isSSO ( project ) ,
1026
+ source,
1024
1027
} ) ;
1025
1028
createEvent ( CONNECT_NOTIFICATION_EVENT . PROJECT_MEMBER_INVITE_CREATED , {
1026
1029
projectId,
@@ -1029,6 +1032,7 @@ module.exports = (app, logger) => {
1029
1032
role,
1030
1033
initiatorUserId : req . authUser . userId ,
1031
1034
isSSO : util . isSSO ( project ) ,
1035
+ source,
1032
1036
} , logger ) ;
1033
1037
}
1034
1038
} ) . catch ( err => logger . error ( err ) ) ; // eslint-disable-line no-unused-vars
You can’t perform that action at this time.
0 commit comments