Skip to content

Commit 2906e84

Browse files
committed
fix for issue #4435
1 parent f110201 commit 2906e84

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/services/challenges.js

-11
Original file line numberDiff line numberDiff line change
@@ -321,17 +321,6 @@ class ChallengesService {
321321
async getChallengeDetails(challengeId) {
322322
let isLegacyChallenge = false;
323323
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-
// .then(res => res.challenges[0]);
333-
// }
334-
335324
// condition based on ROUTE used for Review Opportunities, change if needed
336325
if (challengeId.length >= 5 && challengeId.length <= 8) {
337326
isLegacyChallenge = true;

0 commit comments

Comments
 (0)