refactor: remove obsolete member management API module
This commit is contained in:
@@ -33,7 +33,7 @@ export default async function CourseStatisticsPage({ params }: PageProps) {
|
||||
if (!acct) return <AccountNotFound />;
|
||||
|
||||
const api = createCourseManagementApi(client);
|
||||
const stats = await api.getStatistics(acct.id);
|
||||
const stats = await api.statistics.getQuickStats(acct.id);
|
||||
|
||||
const statusChartData = [
|
||||
{ name: t('stats.active'), value: stats.openCourses },
|
||||
|
||||
Reference in New Issue
Block a user