Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/common/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ function getAuditM2Muser () {
*/
async function checkIsMemberOfProject (userId, projectId) {
const m2mToken = await getM2MToken()
localLogger.debug({ context: 'checkIsMemberOfProject', message: `m2mToken: ${m2mToken}` })
const res = await request
.get(`${config.TC_API}/projects/${projectId}`)
.set('Authorization', `Bearer ${m2mToken}`)
Expand Down