Skip to content

Commit d63cca8

Browse files
birdofpreyruDushyant Bhalgami
authored and
Dushyant Bhalgami
committed
Fix of MM broker endpoints
1 parent c80a8b5 commit d63cca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/submissions.js

+2-2
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)