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 d593f70 commit 1c8f9f2Copy full SHA for 1c8f9f2
src/services/challenges.js
@@ -350,14 +350,15 @@ class ChallengesService {
350
if (memberId) {
351
isRegistered = _.some(registrants, r => r.memberId === memberId);
352
353
- /**
354
- * TODO: Currenlty using legacyId until submissions_api fix issue with UUID
355
- */
356
const subParams = {
357
- challengeId: challenge.legacyId,
+ challengeId,
358
perPage: 100,
359
};
360
- submissions = await this.private.submissionsService.getSubmissions(subParams);
+ try {
+ submissions = await this.private.submissionsService.getSubmissions(subParams);
+ } catch (err) {
+ submissions = [];
361
+ }
362
363
if (submissions) {
364
// Remove AV Scan, SonarQube Review and Virus Scan review types
0 commit comments