Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Minor changes

Blue Mouse5c660ed180cf
diff --git a/src/analytics/analytics.controller.ts b/src/analytics/analytics.controller.ts
index 413065a5b..774064f88 100644
--- a/src/analytics/analytics.controller.ts
+++ b/src/analytics/analytics.controller.ts
@@ -64,10 +64,8 @@ export class AnalyticsController {
let groupFrom = from, groupTo = to
// TODO: data validation
// TODO: automatic timeBucket detection based on period provided
- // TODO: origins validation
- // const where = Object({ pid })
- let query = `SELECT * FROM analytics WHERE pid='${pid}' `
+ let query = `SELECT * FROM analytics WHERE pid='${pid}'`
if (!_isEmpty(from) && !_isEmpty(to)) {
throw new NotImplementedException('Filtering by from/to params is currently not available')