OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix: 30 minutes realtime histogram on overview
Carl-Gerhard Lindesvärd4d7f3e4473c8
diff --git a/packages/trpc/src/routers/overview.ts b/packages/trpc/src/routers/overview.tsindex 60855db89..c28e13efc 100644--- a/packages/trpc/src/routers/overview.ts+++ b/packages/trpc/src/routers/overview.ts@@ -124,8 +124,8 @@ export const overviewRouter = createTRPCRouter({.groupBy(['minute']).orderBy('minute', 'ASC').fill(- clix.exp('now() - INTERVAL 30 MINUTE'),- clix.exp('now()'),+ clix.exp('toStartOfMinute(now() - INTERVAL 30 MINUTE)'),+ clix.exp('toStartOfMinute(now())'),clix.exp('INTERVAL 1 MINUTE'),);