rename url filter to url_path

This commit is contained in:
Francis Cao
2023-11-03 14:23:48 -07:00
parent 9cb6046844
commit 92f32ce7fa
6 changed files with 18 additions and 18 deletions

View File

@@ -13,7 +13,7 @@ export interface WebsiteMetricsRequestQuery {
type: string;
startAt: number;
endAt: number;
url?: string;
url_path?: string;
referrer?: string;
title?: string;
query?: string;
@@ -33,7 +33,7 @@ const schema = {
type: yup.string().required(),
startAt: yup.number().required(),
endAt: yup.number().required(),
url: yup.string(),
url_path: yup.string(),
referrer: yup.string(),
title: yup.string(),
query: yup.string(),
@@ -59,7 +59,7 @@ export default async (
const {
id: websiteId,
type,
url,
url_path,
referrer,
title,
query,
@@ -83,7 +83,7 @@ export default async (
const filters = {
startDate,
endDate,
url,
url_path,
referrer,
title,
query,