refactor: remove obsolete member management API module
This commit is contained in:
@@ -45,7 +45,7 @@ export default async function CourseCalendarPage({
|
||||
if (!acct) return <AccountNotFound />;
|
||||
|
||||
const api = createCourseManagementApi(client);
|
||||
const courses = await api.listCourses(acct.id, { page: 1, pageSize: 100 });
|
||||
const courses = await api.courses.list(acct.id, { page: 1, pageSize: 100 });
|
||||
|
||||
const now = new Date();
|
||||
const monthParam = search.month as string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user