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!

remove dead code

Blue Mouse51753096c756
diff --git a/backend/apps/cloud/src/revenue/revenue.service.ts b/backend/apps/cloud/src/revenue/revenue.service.ts
index 3a6cd755b..201d36032 100644
--- a/backend/apps/cloud/src/revenue/revenue.service.ts
+++ b/backend/apps/cloud/src/revenue/revenue.service.ts
@@ -403,14 +403,6 @@ export class RevenueService {
const filtersSql = filters.length ? `WHERE ${filters.join(' AND ')}` : ''
- if (type) {
- // handled above
- }
-
- if (status) {
- // handled above
- }
-
// Get total count
const countQuery = `
SELECT count(*) as total