Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 428d9bb

Browse files
committedSep 25, 2019
Fix of MM broker endpoints
1 parent 1bc4787 commit 428d9bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/services/submissions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SubmissionsService {
2727
* @return {Promise} Resolves to the api response.
2828
*/
2929
async getSubmissions(challengeId) {
30-
const url = `/submissions?challengeId=${challengeId}`;
30+
const url = `/v5/submissions?challengeId=${challengeId}`;
3131
return this.private.broker.get(url)
3232
.then(res => (res.ok ? res.json() : new Error(res.statusText)));
3333
}
@@ -38,7 +38,7 @@ class SubmissionsService {
3838
* @returns {Promise} Resolves to the api response.
3939
*/
4040
async getSubmissionInformation(submissionId) {
41-
const url = `/submissions/${submissionId}`;
41+
const url = `/v5/submissions/${submissionId}`;
4242
return this.private.broker.get(url)
4343
.then(res => (res.ok ? res.json() : new Error(res.statusText)));
4444
}

0 commit comments

Comments
 (0)
Please sign in to comment.