File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,10 @@ module.exports = [
107
107
req ,
108
108
EVENT . ROUTING_KEY . PROJECT_MEMBER_INVITE_CREATED ,
109
109
RESOURCES . PROJECT_MEMBER_INVITE ,
110
- {
111
- ...invite . toJSON ( ) ,
110
+ Object . assign ( { } , invite . toJSON ( ) , {
112
111
source : 'copilot_portal' ,
113
- } ) ;
112
+ } ) ,
113
+ ) ;
114
114
115
115
await application . update ( {
116
116
status : COPILOT_APPLICATION_STATUS . INVITED ,
Original file line number Diff line number Diff line change @@ -411,10 +411,10 @@ module.exports = [
411
411
req ,
412
412
EVENT . ROUTING_KEY . PROJECT_MEMBER_INVITE_CREATED ,
413
413
RESOURCES . PROJECT_MEMBER_INVITE ,
414
- {
415
- ...v . toJSON ( ) ,
414
+ Object . assign ( { } , v . toJSON ( ) , {
416
415
source : 'work_manager' ,
417
- } ) ;
416
+ } ) ,
417
+ ) ;
418
418
419
419
req . log . debug ( `V: ${ JSON . stringify ( v ) } ` ) ;
420
420
// send email invite (async)
You can’t perform that action at this time.
0 commit comments