refactor: remove obsolete member management API module
This commit is contained in:
@@ -82,7 +82,7 @@ export default async function BookingCalendarPage({ params }: PageProps) {
|
||||
const monthStart = `${year}-${String(month + 1).padStart(2, '0')}-01`;
|
||||
const monthEnd = `${year}-${String(month + 1).padStart(2, '0')}-${String(daysInMonth).padStart(2, '0')}`;
|
||||
|
||||
const bookings = await api.listBookings(acct.id, {
|
||||
const bookings = await api.bookings.list(acct.id, {
|
||||
from: monthStart,
|
||||
to: monthEnd,
|
||||
page: 1,
|
||||
|
||||
Reference in New Issue
Block a user