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!

Update apps/production/src/project/project.controller.ts

Maksim Mrug1c4b55197acd
diff --git a/apps/production/src/project/project.controller.ts b/apps/production/src/project/project.controller.ts
index c70ee408d..5ad5e5068 100644
--- a/apps/production/src/project/project.controller.ts
+++ b/apps/production/src/project/project.controller.ts
@@ -635,8 +635,8 @@ export class ProjectController {
this.projectService.allowedToManage(project, uid)
await Promise.all([
- ..._map(filters, async (f: string) => {
- this.projectService.resetFilters(pid, type, f)
+ ..._map(filters, async (filter: string) => {
+ this.projectService.deleteByFilter(pid, type, filter)
}),
])
}