Commit bc1228ce by Matt Drayer

mattdrayer/WL-466: Use LMS Courses API

parent 0b700a7b
...@@ -164,7 +164,7 @@ var edx = edx || {}; ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment