Fix timezone bug

pull/1543/head
Brian Cao 2022-09-27 17:13:06 -07:00
parent add7c5ebe9
commit dc80064d02
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export default async (req, res) => {
getPageviewStats(websiteId, { getPageviewStats(websiteId, {
start_at: startDate, start_at: startDate,
end_at: endDate, end_at: endDate,
tz, timezone: tz,
unit, unit,
count: '*', count: '*',
filters: { filters: {
@ -44,7 +44,7 @@ export default async (req, res) => {
getPageviewStats(websiteId, { getPageviewStats(websiteId, {
start_at: startDate, start_at: startDate,
end_at: endDate, end_at: endDate,
tz, timezone: tz,
unit, unit,
count: 'distinct pageview.', count: 'distinct pageview.',
filters: { filters: {