File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ function loadResultsInit(challengeId) {
248
248
* @return {Action }
249
249
*/
250
250
function loadResultsDone ( auth , challengeId , type ) {
251
- return getApi ( 'V2' , auth . tokenV2 )
251
+ return getApi ( 'V2' )
252
252
. fetch ( `/${ type } /challenges/result/${ challengeId } ` )
253
253
. then ( response => response . json ( ) )
254
254
. then ( response => ( {
@@ -273,7 +273,7 @@ function fetchCheckpointsInit() {}
273
273
*/
274
274
function fetchCheckpointsDone ( tokenV2 , challengeId ) {
275
275
const endpoint = `/design/challenges/checkpoint/${ challengeId } ` ;
276
- return getApi ( 'V2' , tokenV2 ) . fetch ( endpoint )
276
+ return getApi ( 'V2' ) . fetch ( endpoint )
277
277
. then ( ( response ) => {
278
278
if ( response . status !== 200 ) {
279
279
throw response . status ;
You can’t perform that action at this time.
0 commit comments