Skip to content

Commit 0674625

Browse files
committed
save result in run success
1 parent e7918cb commit 0674625

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/routes/api/run/controller.ts

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export default {
5353

5454
async onSuccess(result: RunResponse) {
5555
const job = await DB.submissions.findById(result.id)
56+
job.results = result
57+
await job.save()
5658

5759
switch (job.mode) {
5860
case 'callback':

0 commit comments

Comments
 (0)