📈 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
token cleanup on user delete
Blue Mouseb50f6dbe0b00
diff --git a/src/user/user.controller.ts b/src/user/user.controller.tsindex 228a2f15c..9fd724e3a 100644--- a/src/user/user.controller.ts+++ b/src/user/user.controller.ts@@ -157,6 +157,7 @@ export class UserController {await clickhouse.query(query1).toPromise()await clickhouse.query(query2).toPromise()}+ await this.actionTokensService.deleteMultiple(`userId="${id}"`)await this.userService.delete(id)return 'accountDeleted'