From 175675da558a474b50074a7f3ac3df567688caaf Mon Sep 17 00:00:00 2001 From: Carla Duarte Date: Thu, 23 Jul 2020 16:01:46 -0400 Subject: [PATCH] AA-127: Fix outline tab redirect URL (#122) Co-authored-by: Carla Duarte --- src/course-home/data/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/course-home/data/api.js b/src/course-home/data/api.js index 8c15eb1c..36707733 100644 --- a/src/course-home/data/api.js +++ b/src/course-home/data/api.js @@ -59,7 +59,7 @@ export async function getOutlineTabData(courseId) { } catch (error) { const { httpErrorStatus } = error && error.customAttributes; if (httpErrorStatus === 404) { - global.location.replace(`${getConfig().LMS_BASE_URL}/courses/${courseId}/home`); + global.location.replace(`${getConfig().LMS_BASE_URL}/courses/${courseId}/course/`); return {}; } throw error;