Merge pull request #12476 from edx/mattdrayer/WL-466
mattdrayer/wl-466: Use LMS Courses API on checkout receipt page
This commit is contained in:
@@ -164,7 +164,7 @@ var edx = edx || {};
|
|||||||
* @return {object} JQuery Promise.
|
* @return {object} JQuery Promise.
|
||||||
*/
|
*/
|
||||||
getCourseData: function (courseId) {
|
getCourseData: function (courseId) {
|
||||||
var courseDetailUrl = '/api/course_structure/v0/courses/%s/';
|
var courseDetailUrl = '/api/courses/v1/courses/%s/';
|
||||||
return $.ajax({
|
return $.ajax({
|
||||||
url: _.sprintf(courseDetailUrl, courseId),
|
url: _.sprintf(courseDetailUrl, courseId),
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
|
|||||||
Reference in New Issue
Block a user