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!

some improvments

Maksim Mrug279573d9dc30
diff --git a/apps/production/src/analytics/analytics.controller.ts b/apps/production/src/analytics/analytics.controller.ts
index 380348c08..4879acbbc 100644
--- a/apps/production/src/analytics/analytics.controller.ts
+++ b/apps/production/src/analytics/analytics.controller.ts
@@ -295,7 +295,7 @@ export class AnalyticsController {
let diff
- if (period === validPeriods[validPeriods.length - 1]) {
+ if (period === 'all') {
const res = await this.analyticsService.getTimeBucketForAllTime(
pid,
period,