File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ module.exports = (app) => {
50
50
next ( new errors . ForbiddenError ( "You are not allowed to perform this action!" ) ) ;
51
51
} else {
52
52
req . authUser . handle = config . M2M_AUDIT_HANDLE ;
53
+ req . authUser . userId = config . M2M_AUDIT_USERID ;
53
54
req . userToken = req . headers . authorization . split ( " " ) [ 1 ] ;
54
55
next ( ) ;
55
56
}
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ module.exports = {
97
97
DEFAULT_CONFIDENTIALITY_TYPE : process . env . DEFAULT_CONFIDENTIALITY_TYPE || "public" ,
98
98
99
99
M2M_AUDIT_HANDLE : process . env . M2M_AUDIT_HANDLE || "tcwebservice" ,
100
+ M2M_AUDIT_USERID : process . env . M2M_AUDIT_USERID || 22838965 ,
100
101
101
102
FORUM_TITLE_LENGTH_LIMIT : process . env . FORUM_TITLE_LENGTH_LIMIT || 90 ,
102
103
You can’t perform that action at this time.
0 commit comments