File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ function getSubmissionsInit(challengeId) {
103
103
* @desc Creates an action that loads user's submissions to the specified
104
104
* challenge.
105
105
* @param {String } challengeId Challenge ID.
106
- * @param {String } tokenV2 Topcoder auth token v2 .
106
+ * @param {String } tokenV23 Topcoder auth token v3 .
107
107
* @return {Action }
108
108
*/
109
- function getSubmissionsDone ( challengeId , tokenV2 ) {
110
- return getApi ( 'V2 ' , tokenV2 )
111
- . fetch ( `/challenges/ submissions/ ${ challengeId } /mySubmissions ` )
109
+ function getSubmissionsDone ( challengeId , tokenV3 ) {
110
+ return getApi ( 'V5 ' , tokenV3 )
111
+ . fetch ( `/submissions?challengeId= ${ challengeId } ` )
112
112
. then ( response => response . json ( ) )
113
113
. then ( response => ( {
114
114
challengeId : _ . toString ( challengeId ) ,
You can’t perform that action at this time.
0 commit comments