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!

fixed project deletion for selfhosted

Blue Mouseb3d04f1103b5
diff --git a/src/common/utils.ts b/src/common/utils.ts
index 80f9d3369..ed6ca57b7 100644
--- a/src/common/utils.ts
+++ b/src/common/utils.ts
@@ -193,7 +193,7 @@ const calculateRelativePercentage = (
}
const deleteProjectClickhouse = async id => {
- const query = `ALTER table project DELETE WHERE WHERE id='${id}'`
+ const query = `ALTER table project DELETE WHERE id='${id}'`
return clickhouse.query(query).toPromise()
}