Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Clean up api.
Brian Cao34613426013b
diff --git a/pages/api/websites/[id]/pageviews.ts b/pages/api/websites/[id]/pageviews.tsindex 475c9ee12..c38b6c75c 100644--- a/pages/api/websites/[id]/pageviews.ts+++ b/pages/api/websites/[id]/pageviews.ts@@ -10,7 +10,6 @@ const unitTypes = ['year', 'month', 'hour', 'day'];export interface WebsitePageviewRequestQuery {id: string;- websiteId: string;startAt: number;endAt: number;unit: string;diff --git a/pages/api/websites/[id]/stats.ts b/pages/api/websites/[id]/stats.tsindex b3ab2f076..f89ea5d13 100644--- a/pages/api/websites/[id]/stats.ts+++ b/pages/api/websites/[id]/stats.ts@@ -7,7 +7,6 @@ import { getWebsiteStats } from 'queries';export interface WebsiteStatsRequestQuery {id: string;- type: string;startAt: number;endAt: number;url: string;