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({