📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
update
Maksim Mrug94c005955c31
diff --git a/apps/production/src/project/project.controller.ts b/apps/production/src/project/project.controller.tsindex c70ee408d..e0d52b8d6 100644--- a/apps/production/src/project/project.controller.ts+++ b/apps/production/src/project/project.controller.ts@@ -631,6 +631,7 @@ export class ProjectController {}const filters = JSON.parse(filter)+ console.log(filter, filters)this.projectService.allowedToManage(project, uid)diff --git a/apps/production/src/project/project.service.ts b/apps/production/src/project/project.service.tsindex 86b24e7a4..a40db8f1c 100644--- a/apps/production/src/project/project.service.ts+++ b/apps/production/src/project/project.service.ts@@ -520,9 +520,10 @@ export class ProjectService {async resetFilters(pid: string,type: string,- filters: string+ filters: string,): Promise<void> {- const query = `DELETE FROM analytics WHERE pid = '${pid}' AND ${type}=${filters};`+ console.log('resetFilters', pid, type, filters)+ const query = `DELETE FROM analytics WHERE pid='${pid}' AND ${type}='${filters}';`await clickhouse.query(query, { params: { pid } }).toPromise()}