We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c80a8b5 commit d63cca8Copy full SHA for d63cca8
src/services/submissions.js
@@ -27,7 +27,7 @@ class SubmissionsService {
27
* @return {Promise} Resolves to the api response.
28
*/
29
async getSubmissions(challengeId) {
30
- const url = `/submissions?challengeId=${challengeId}`;
+ const url = `/v5/submissions?challengeId=${challengeId}`;
31
return this.private.broker.get(url)
32
.then(res => (res.ok ? res.json() : new Error(res.statusText)));
33
}
@@ -38,7 +38,7 @@ class SubmissionsService {
38
* @returns {Promise} Resolves to the api response.
39
40
async getSubmissionInformation(submissionId) {
41
- const url = `/submissions/${submissionId}`;
+ const url = `/v5/submissions/${submissionId}`;
42
43
44
0 commit comments