Skip to content

Commit 8d86e6d

Browse files
feat: updated course config api version (#702)
1 parent 3778156 commit 8d86e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/discussions/data/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ensureConfig([
55
'LMS_BASE_URL',
66
], 'Posts API service');
77

8-
export const getCourseConfigApiUrl = () => `${getConfig().LMS_BASE_URL}/api/discussion/v1/courses/`;
8+
export const getCourseConfigApiUrl = () => `${getConfig().LMS_BASE_URL}/api/discussion/v2/courses/`;
99
export const getDiscussionsConfigUrl = (courseId) => `${getCourseConfigApiUrl()}${courseId}/`;
1010
/**
1111
* Get discussions course config

0 commit comments

Comments
 (0)