File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,6 @@ export function normalizeChallenge(challenge, username) {
53
53
if ( ! challenge . tags ) challenge . tags = [ ] ;
54
54
if ( ! challenge . platforms ) challenge . platforms = [ ] ;
55
55
56
- if ( challenge . type === 'Marathon Match' ) {
57
- challenge . legacy . track = 'DATA_SCIENCE' ;
58
- }
59
- /* eslint-enable no-param-reassign */
60
-
61
56
let submissionEndTimestamp = phases . filter ( d => d . name === 'Submission' ) [ 0 ] ;
62
57
if ( submissionEndTimestamp ) {
63
58
submissionEndTimestamp = submissionEndTimestamp . scheduledEndDate ;
@@ -539,15 +534,9 @@ class ChallengesService {
539
534
* @return {Promise } Resolves to the api response.
540
535
*/
541
536
async getUserMarathonMatches ( memberId , params ) {
542
- const typeId = await this . getChallengeTypeId ( 'DEVELOP_MARATHON_MATCH' ) ;
543
-
544
- if ( ! typeId ) {
545
- return null ;
546
- }
547
-
548
537
const newParams = {
549
538
...params ,
550
- typeId ,
539
+ tag : 'Marathon Match' ,
551
540
memberId,
552
541
} ;
553
542
You can’t perform that action at this time.
0 commit comments