Skip to content

Commit 01241b4

Browse files
author
sachin-maheshwari
authored
Update helper.js
1 parent 28e0b38 commit 01241b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function isDocumentMissingException (err) {
317317
async function getProjects (currentUser, criteria = {}) {
318318
let token
319319
if (currentUser.hasManagePermission || currentUser.isMachine) {
320-
const m2mToken = await getM2Mtoken()
320+
const m2mToken = await getTopcoderM2MToken()
321321
token = `Bearer ${m2mToken}`
322322
} else {
323323
token = currentUser.jwtToken

0 commit comments

Comments
 (0)