Updated events/sessions pages. Added DateDistance component.

This commit is contained in:
Mike Cao 2025-06-30 21:34:56 -07:00
parent 8b64029409
commit 5b300f1ff5
13 changed files with 44 additions and 35 deletions

View file

@ -28,7 +28,7 @@ export async function GET(
return unauthorized();
}
const data = await getWebsiteEvents(websiteId, { startDate, endDate }, query);
const data = await getWebsiteEvents(websiteId, { ...query, startDate, endDate }, query);
return json(data);
}