Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit b17e336

Browse files
committed
Fixing the getChallengeById response
1 parent 8bf7f3b commit b17e336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function getPlatforms (m2mToken) {
4141
*/
4242
async function getChallengeById (m2mToken, legacyId) {
4343
const response = await helper.getRequest(`${config.V4_CHALLENGE_API_URL}/${legacyId}`, m2mToken)
44-
return _.get(response, 'body.result.content[0]')
44+
return _.get(response, 'body.result.content')
4545
}
4646

4747
/**

0 commit comments

Comments
 (0)