We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b24352 commit 1499985Copy full SHA for 1499985
src/actions/challenge.js
@@ -248,7 +248,7 @@ function loadResultsInit(challengeId) {
248
* @return {Action}
249
*/
250
function loadResultsDone(auth, challengeId, type) {
251
- return getApi('V2', auth.tokenV2)
+ return getApi('V2')
252
.fetch(`/${type}/challenges/result/${challengeId}`)
253
.then(response => response.json())
254
.then(response => ({
@@ -273,7 +273,7 @@ function fetchCheckpointsInit() {}
273
274
function fetchCheckpointsDone(tokenV2, challengeId) {
275
const endpoint = `/design/challenges/checkpoint/${challengeId}`;
276
- return getApi('V2', tokenV2).fetch(endpoint)
+ return getApi('V2').fetch(endpoint)
277
.then((response) => {
278
if (response.status !== 200) {
279
throw response.status;
0 commit comments