refactor: remove obsolete member management API module
This commit is contained in:
@@ -29,7 +29,7 @@ export default async function HolidayPassesPage({ params }: PageProps) {
|
||||
if (!acct) return <AccountNotFound />;
|
||||
|
||||
const api = createEventManagementApi(client);
|
||||
const passes = await api.listHolidayPasses(acct.id);
|
||||
const passes = await api.holidayPasses.list(acct.id);
|
||||
|
||||
return (
|
||||
<CmsPageShell account={account} title={t('holidayPasses')}>
|
||||
|
||||
Reference in New Issue
Block a user