Fix Prisma WebhookLog query causing server crashes
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m15s
Details
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m15s
Details
This commit is contained in:
parent
c62ceabab6
commit
9a51bc3dd0
|
|
@ -884,7 +884,7 @@ app.get('/api/admin/dashboard', authenticateToken, requireAdmin, async (req: Aut
|
||||||
});
|
});
|
||||||
|
|
||||||
const webhookLogs = await prisma.webhookLog.findMany({
|
const webhookLogs = await prisma.webhookLog.findMany({
|
||||||
orderBy: { createdAt: 'desc' },
|
orderBy: { receivedAt: 'desc' },
|
||||||
take: 15
|
take: 15
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue