Describe the bug
For exercises (not assessments), the exercise is getting marked as complete after getting the response from /completedContent, so the previous exercise is not shown as completed.
To Reproduce
Steps to reproduce the behavior:
Go to a pathway with non-assessment exercises
Click on Next a couple of times
Observe that the previous exercise is not marked as complete.
Expected behavior
Exercise should be marked as complete indicated with a dark green disk.
Describe the bug For exercises (not assessments), the exercise is getting marked as complete after getting the response from
/completedContent
, so the previous exercise is not shown as completed.To Reproduce Steps to reproduce the behavior:
Expected behavior Exercise should be marked as complete indicated with a dark green disk.
Screenshots![image](https://github.com/navgurukul/bhanwari-devi/assets/9159008/17f8ddfa-7b75-458f-97b8-759deb15f4ee)