From fb9c2c79a34dca9febffef6194a22e6b790acf09 Mon Sep 17 00:00:00 2001 From: Sidney Gomes Date: Tue, 21 Jul 2026 17:59:55 -0300 Subject: [PATCH] fix: remove duplicate db declaration in asaas webhook handler --- server.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.ts b/server.ts index 440f7ea..c2ca8cd 100644 --- a/server.ts +++ b/server.ts @@ -1005,8 +1005,6 @@ app.post('/api/webhooks/asaas', (req: Request, res: Response) => { return; } - const db = loadDb(); - // Log the webhook event const logId = `wh_log_${Math.random().toString(36).substring(2, 9)}`; db.webhookLogs.push({