Fix getRequestFilters using request instead of query

This commit is contained in:
Francis Cao 2025-02-05 11:07:49 -08:00
parent 9abf5bb84d
commit bea4d3a80b
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ export async function GET(
}
const filters = {
...getRequestFilters(request),
...getRequestFilters(query),
startDate,
endDate,
timezone,

View file

@ -29,7 +29,7 @@ export async function GET(
const { startDate, endDate } = await getRequestDateRange(query);
const filters = getRequestFilters(request);
const filters = getRequestFilters(query);
const metrics = await getWebsiteSessionStats(websiteId, {
...filters,