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 4c7c932 commit 2e5133eCopy full SHA for 2e5133e
src/services/ProcessorService.js
@@ -19,8 +19,7 @@ async function legacyChallengeExistInV4 (legacyId) {
19
try {
20
const m2mToken = await helper.getM2Mtoken()
21
logger.debug(`Calling V4: ${config.CHALLENGE_API_V4_URL}/${legacyId}`)
22
- const challenge = await helper.getRequest(`${config.CHALLENGE_API_V4_URL}/${legacyId}`, m2mToken)
23
- if (!challenge) throw new Error(`v4 Challenge not found for ${legacyId}`)
+ await helper.getRequest(`${config.CHALLENGE_API_V4_URL}/${legacyId}`, m2mToken)
24
} catch (e) {
25
logger.logFullError(e)
26
throw new Error(`v4 Challenge not found for ${legacyId}`)
0 commit comments