mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:59:28 +00:00
Implement TestResult.setMark
This commit is contained in:
@@ -95,7 +95,7 @@ router.post('/:id/results/:resultId/edit', async (req, res) => {
|
||||
return res.redirect(returnURL);
|
||||
}
|
||||
|
||||
tr.mark = fields.get('mark');
|
||||
await tr.setMark(fields.get('mark'));
|
||||
|
||||
res.redirect(returnURL);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user