Skip to content

armgit / umami

Public Imported from GitHub
0

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.

fix import

Brian Cao2950343f9406
diff --git a/pages/api/website/[id]/events.js b/pages/api/website/[id]/events.js
index 34e5f659f..e4fc1e2aa 100644
--- a/pages/api/website/[id]/events.js
+++ b/pages/api/website/[id]/events.js
@@ -1,5 +1,5 @@
import moment from 'moment-timezone';
-import { getEventMetrics } from 'queries/analytics';
+import { getEventMetrics } from 'queries';
import { ok, badRequest, methodNotAllowed, unauthorized } from 'lib/response';
import { allowQuery } from 'lib/auth';
import { useCors } from 'lib/middleware';