diff --git a/web/src/pages/core/admin/Autograde/Results.jsx b/web/src/pages/core/admin/Autograde/Results.jsx index 908842849..07e5e1b35 100644 --- a/web/src/pages/core/admin/Autograde/Results.jsx +++ b/web/src/pages/core/admin/Autograde/Results.jsx @@ -237,7 +237,8 @@ export default function Results() { color={'primary'} variant={'contained'} onClick={() => downloadTextFile( - `anubis-autograde-${assignment?.course_id}-${assignment?.name}-${nonStupidDatetimeFormat(new Date())}.json`, + `anubis-autograde-${assignment?.course_id}-${assignment?.name}` + + `-${nonStupidDatetimeFormat(new Date())}.json`, JSON.stringify(stats), 'application/json', )}