Fix Prisma WebhookLog query causing server crashes
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m15s Details

This commit is contained in:
Sidney Gomes 2026-07-22 23:04:32 -03:00
parent c62ceabab6
commit 9a51bc3dd0
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ app.get('/api/admin/dashboard', authenticateToken, requireAdmin, async (req: Aut
});
const webhookLogs = await prisma.webhookLog.findMany({
orderBy: { createdAt: 'desc' },
orderBy: { receivedAt: 'desc' },
take: 15
});