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 8859886 commit dd71781Copy full SHA for dd71781
src/common/helper.js
@@ -535,7 +535,7 @@ async function ensureProjectExist (projectId, userToken) {
535
*/
536
async function listChallengesByMember (memberId) {
537
const token = await getM2MToken()
538
- const url = `${config.RESOURCES_API_URL}/${memberId}/challenges`
+ const url = `${config.RESOURCES_API_URL}/resources/${memberId}/challenges`
539
const res = await axios.get(url, { headers: { Authorization: `Bearer ${token}` } })
540
return res.data || []
541
}
0 commit comments