File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 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) {
5353 if ( ! challenge . tags ) challenge . tags = [ ] ;
5454 if ( ! challenge . platforms ) challenge . platforms = [ ] ;
5555
56- if ( challenge . type === 'Marathon Match' ) {
57- challenge . legacy . track = 'DATA_SCIENCE' ;
58- }
59- /* eslint-enable no-param-reassign */
60-
6156 let submissionEndTimestamp = phases . filter ( d => d . name === 'Submission' ) [ 0 ] ;
6257 if ( submissionEndTimestamp ) {
6358 submissionEndTimestamp = submissionEndTimestamp . scheduledEndDate ;
@@ -539,15 +534,9 @@ class ChallengesService {
539534 * @return {Promise } Resolves to the api response.
540535 */
541536 async getUserMarathonMatches ( memberId , params ) {
542- const typeId = await this . getChallengeTypeId ( 'DEVELOP_MARATHON_MATCH' ) ;
543-
544- if ( ! typeId ) {
545- return null ;
546- }
547-
548537 const newParams = {
549538 ...params ,
550- typeId ,
539+ tag : 'Marathon Match' ,
551540 memberId,
552541 } ;
553542
You can’t perform that action at this time.
0 commit comments