We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c3a64 commit 12de6fdCopy full SHA for 12de6fd
src/common/helper.js
@@ -534,7 +534,7 @@ async function ensureProjectExist (projectId, userToken) {
534
*/
535
async function listChallengesByMember (memberId) {
536
const token = await getM2MToken()
537
- const url = `${config.RESOURCES_API_URL}/resources/${memberId}/challenges`
+ const url = `${config.RESOURCES_API_URL}/${memberId}/challenges`
538
const res = await axios.get(url, { headers: { Authorization: `Bearer ${token}` } })
539
return res.data || []
540
}
0 commit comments