fix: remove duplicate db declaration in asaas webhook handler
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 43s Details

This commit is contained in:
Sidney Gomes 2026-07-21 17:59:55 -03:00
parent 9a69d11d58
commit fb9c2c79a3
1 changed files with 0 additions and 2 deletions

View File

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