fix: remove duplicate db declaration in asaas webhook handler
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 43s
Details
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 43s
Details
This commit is contained in:
parent
9a69d11d58
commit
fb9c2c79a3
|
|
@ -1005,8 +1005,6 @@ app.post('/api/webhooks/asaas', (req: Request, res: Response) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const db = loadDb();
|
|
||||||
|
|
||||||
// Log the webhook event
|
// Log the webhook event
|
||||||
const logId = `wh_log_${Math.random().toString(36).substring(2, 9)}`;
|
const logId = `wh_log_${Math.random().toString(36).substring(2, 9)}`;
|
||||||
db.webhookLogs.push({
|
db.webhookLogs.push({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue