We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f110201 commit 2906e84Copy full SHA for 2906e84
src/services/challenges.js
@@ -321,17 +321,6 @@ class ChallengesService {
321
async getChallengeDetails(challengeId) {
322
let isLegacyChallenge = false;
323
const filters = {};
324
- // if (challengeId.length >= 5 && challengeId.length <= 8) {
325
- // isLegacyChallenge = true;
326
- // challengeDetails = await this.private
327
- // .getChallenges('/challenges/', { legacyId: challengeId })
328
- // .then(res => res.challenges[0]);
329
- // } else {
330
- // challengeDetails = await this.private.
331
- // getChallenges('/challenges/', { id: challengeId })
332
333
- // }
334
-
335
// condition based on ROUTE used for Review Opportunities, change if needed
336
if (challengeId.length >= 5 && challengeId.length <= 8) {
337
isLegacyChallenge = true;
0 commit comments