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!

removed unused hook

Blue Mouse74375c80fbfa
diff --git a/src/webhook/webhook.controller.ts b/src/webhook/webhook.controller.ts
index bcd7ea1c1..acced04e0 100644
--- a/src/webhook/webhook.controller.ts
+++ b/src/webhook/webhook.controller.ts
@@ -57,9 +57,6 @@ export class WebhookController {
case 'customer.subscription.deleted':
await this.userService.update(uid, { planCode: PlanCode.free })
break
- case 'customer.subscription.updated':
- // await this.userService.update(uid, { planCode: PlanCode.free })
- break
default:
throw new BadRequestException('Unexpected event type')
}