diff --git a/src/data/thunks.js b/src/data/thunks.js index 76ebca1..16fb61c 100644 --- a/src/data/thunks.js +++ b/src/data/thunks.js @@ -546,7 +546,6 @@ export function getAllowProctoringOptOut(allowProctoringOptOut) { export function checkExamEntry() { return async (dispatch, getState) => { const { exam } = getState().specialExams; - const useLegacyAttemptAPI = exam.attempt.use_legacy_attempt_api; // Check only applies to LTI exams if ( !exam?.attempt @@ -562,7 +561,7 @@ export function checkExamEntry() { }), ]).catch(() => { dispatch(setApiError({ errorMsg: 'Something has gone wrong with your exam. Proctoring application not detected.' })); - updateAttemptAfter(exam.course_id, exam.content_id, endExamWithFailure(exam.attempt.attempt_id, 'exam reentry disallowed', useLegacyAttemptAPI))(dispatch); + updateAttemptAfter(exam.course_id, exam.content_id, endExamWithFailure(exam.attempt.attempt_id, 'exam reentry disallowed', false))(dispatch); }); } };