fix region / city filters

This commit is contained in:
Francis Cao 2023-04-17 00:10:51 -07:00
parent 672608b2f5
commit 43499eb4fd
5 changed files with 18 additions and 22 deletions

View file

@ -21,8 +21,7 @@ export interface WebsitePageviewRequestQuery {
browser?: string;
device?: string;
country?: string;
subdivision1?: string;
subdivision2?: string;
region: string;
city?: string;
}
@ -46,8 +45,7 @@ export default async (
browser,
device,
country,
subdivision1,
subdivision2,
region,
city,
} = req.query;
@ -78,8 +76,7 @@ export default async (
browser,
device,
country,
subdivision1,
subdivision2,
region,
city,
},
}),
@ -96,8 +93,7 @@ export default async (
browser,
device,
country,
subdivision1,
subdivision2,
region,
city,
},
}),