We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c2e0b3 commit 57530c9Copy full SHA for 57530c9
src/routes/api/run.ts
@@ -73,7 +73,7 @@ const handleSuccessForSubmission = function (result: RunResponse) {
73
})
74
75
// make the callback request
76
- await axios.post(job.callback, {id: result.id, outputs: [url]})
+ await axios.post(job.callback, {id: result.id, code: 200, outputs: [url]})
77
})()
78
break;
79
}
@@ -136,6 +136,7 @@ const getRunPoolElement = function (body: RunRequestBody, res: Response): RunPoo
136
* HTTP/1.1 200 OK
137
* {
138
* "id": 10,
139
+ * "code": 200,
140
* "outputs": ["http://localhost/judge-submissions/file.json"]
141
* }
142
*/
0 commit comments