Skip to content

Commit

Permalink
Update api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dattatadepalli committed Dec 23, 2024
1 parent 84597a0 commit 226c5b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/discussions/topics/data/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { getAuthenticatedHttpClient } from "@edx/frontend-platform/auth";

import { getApiBaseUrl } from "../../../data/constants";
import { camelCaseObject, getConfig } from "@edx/frontend-platform";
import { getConfig } from "@edx/frontend-platform";

export const getCourseTopicsApiUrl = () =>
`${getApiBaseUrl()}/api/discussion/v1/course_topics/`;
Expand All @@ -21,7 +21,6 @@ export async function getCourseTopics(courseId) {

// return {};
}
console.log(error, "this is error");
throw error;
}
}

0 comments on commit 226c5b0

Please sign in to comment.