Skip to content

Commit

Permalink
Merge branch 'Ali-Abbas/react-router-upgrade' of github.com:openedx/f…
Browse files Browse the repository at this point in the history
…rontend-lib-special-exams into Ali-Abbas/react-router-upgrade
  • Loading branch information
Syed-Ali-Abbas-Zaidi committed Aug 30, 2023
2 parents ec2f6a9 + ba1492a commit ace8ca0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/timer/TimerProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ const TimerServiceProvider = ({
).join(':');

const pollExam = () => {
const url = attempt.exam_started_poll_url;
const queryString = `?sourceid=in_exam&proctored=${attempt.taking_as_proctored}`;
pollHandler(url + queryString);
// poll url may be null if this is an LTI exam
pollHandler(attempt.exam_started_poll_url);
};

const processTimeLeft = (timer, secondsLeft) => {
Expand Down

0 comments on commit ace8ca0

Please sign in to comment.