File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
src/shared/actions/challenge-listing Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,4 @@ module.exports = {
401
401
TC_EDU_ARTICLES_PATH : '/articles' ,
402
402
TC_EDU_SEARCH_PATH : '/search' ,
403
403
TC_EDU_SEARCH_BAR_MAX_RESULTS_EACH_GROUP : 3 ,
404
- // SRM ChallengeType ID
405
- SRM_TYPE_ID : '7494c009-b425-45c5-923a-fd3a6ace3196' ,
406
404
} ;
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import { decodeToken } from 'tc-accounts';
8
8
import 'isomorphic-fetch' ;
9
9
import { processSRM } from 'utils/tc' ;
10
10
import { errors , services } from 'topcoder-react-lib' ;
11
- import { config } from 'topcoder-react-utils' ;
12
11
13
12
const { fireErrorMessage } = errors ;
14
13
const { getService } = services . challenge ;
@@ -292,11 +291,7 @@ function getSrmsInit(uuid) {
292
291
*/
293
292
function getSrmsDone ( uuid , memberId , params , tokenV3 ) {
294
293
const service = getService ( tokenV3 ) ;
295
- const newParams = {
296
- ...params ,
297
- typeId : config . SRM_TYPE_ID ,
298
- } ;
299
- const promises = [ service . getSrms ( newParams ) ] ;
294
+ const promises = [ service . getSrms ( params ) ] ;
300
295
if ( memberId ) {
301
296
promises . push ( service . getUserSrms ( memberId , params ) ) ;
302
297
}
You can’t perform that action at this time.
0 commit comments