feat: update onboarding link on the course home page (#542)

This commit is contained in:
Viktor Rusakov
2021-07-15 22:10:17 +03:00
committed by GitHub
parent 270c177a83
commit 9f81897fd2
3 changed files with 3 additions and 4 deletions

View File

@@ -262,7 +262,7 @@ export async function getProgressTabData(courseId, targetUserId) {
}
export async function getProctoringInfoData(courseId, username) {
let url = `${getConfig().LMS_BASE_URL}/api/edx_proctoring/v1/user_onboarding/status?course_id=${encodeURIComponent(courseId)}`;
let url = `${getConfig().LMS_BASE_URL}/api/edx_proctoring/v1/user_onboarding/status?is_learning_mfe=true&course_id=${encodeURIComponent(courseId)}`;
if (username) {
url += `&username=${encodeURIComponent(username)}`;
}