Skip to content

Commit

Permalink
feat: updated course config api version (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid authored May 24, 2024
1 parent 3778156 commit 8d86e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discussions/data/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ensureConfig([
'LMS_BASE_URL',
], 'Posts API service');

export const getCourseConfigApiUrl = () => `${getConfig().LMS_BASE_URL}/api/discussion/v1/courses/`;
export const getCourseConfigApiUrl = () => `${getConfig().LMS_BASE_URL}/api/discussion/v2/courses/`;
export const getDiscussionsConfigUrl = (courseId) => `${getCourseConfigApiUrl()}${courseId}/`;
/**
* Get discussions course config
Expand Down

0 comments on commit 8d86e6d

Please sign in to comment.