Added Chat Page
This commit is contained in:
@@ -15,7 +15,9 @@ export async function GET(request: NextRequest) {
|
||||
const startDate = searchParams.get('startDate');
|
||||
const endDate = searchParams.get('endDate');
|
||||
|
||||
const where: any = {};
|
||||
const where: any = {
|
||||
archived: false, // Exclure les trajets archivés par défaut
|
||||
};
|
||||
|
||||
// Filtrer par date si fourni
|
||||
if (startDate || endDate) {
|
||||
|
||||
Reference in New Issue
Block a user