Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(worker): escape string

Carl-Gerhard Lindesvärd27a945b5673f
diff --git a/packages/db/src/services/project.service.ts b/packages/db/src/services/project.service.ts
index 5980b9485..2dffdb170 100644
--- a/packages/db/src/services/project.service.ts
+++ b/packages/db/src/services/project.service.ts
@@ -1,4 +1,5 @@
import { cacheable } from '@openpanel/redis';
+import { escape } from 'sqlstring';
import { TABLE_NAMES, chQuery } from '../clickhouse/client';
import type { Prisma, Project } from '../prisma-client';
import { db } from '../prisma-client';