Skip to content

Commit

Permalink
Revert "feat: updated course config api version (#702)" (#715)
Browse files Browse the repository at this point in the history
This reverts commit 8d86e6d.
  • Loading branch information
AhtishamShahid authored Jun 11, 2024
1 parent b9543c6 commit c808069
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/v2/courses/`;
export const getCourseConfigApiUrl = () => `${getConfig().LMS_BASE_URL}/api/discussion/v1/courses/`;
export const getDiscussionsConfigUrl = (courseId) => `${getCourseConfigApiUrl()}${courseId}/`;
/**
* Get discussions course config
Expand Down

0 comments on commit c808069

Please sign in to comment.