-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
Hi everyone. Recently I found that the course progress URL which is sent in the response of /api/learner_home/init API call, always points to the old progress page and doesn't consider whether the learning MFE is enabled or not.
In the response of the said API call, there's home URL as well which points to the learning MFE all the time and doesn't check whether the user has learning MFE enabled or not. Maybe this is intentional?
A sample response for /api/learner_home/init is as follows:
{
.....
"courses": [
{
"courseRun": {
"isStarted": true,
"isArchived": true,
"courseId": "course-my-sample-course",
"minPassingGrade": "0.50",
"startDate": "2023-10-10T12:30:00+03:30",
"endDate": "2024-01-01T03:00:00+03:30",
"homeUrl": "https://apps.mylms.com/learning/course/course-my-sample-course/home",
"marketingUrl": null,
"progressUrl": "/courses/course-my-sample-course/progress",
"unenrollUrl": "/course_run/course-my-sample-course/refund_status",
"upgradeUrl": null,
"resumeUrl": "/courses/course-my-sample-course/jump_to/block-v1-block-id"
},
.....
This issue was first raised in this forum topic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels