additional features, refinement and more control over the app from admin side, better bookings UX
This commit is contained in:
@@ -17,7 +17,7 @@ export async function GET(request: NextRequest) {
|
||||
// Build query conditions
|
||||
const whereConditions = [];
|
||||
whereConditions.push(eq(bookings.status, 'active'));
|
||||
|
||||
|
||||
if (date) {
|
||||
whereConditions.push(eq(bookings.date, date));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user