chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] 2026-08-08 16:53:44 +00:00
parent 9f875e3180
commit 869d84d78c
2 changed files with 2 additions and 4 deletions

View file

@ -292,9 +292,7 @@ export function createAdminRoutes(): Hono<{ Bindings: Env }> {
const allowed = s.scope.isSuper
? allLogs
: allLogs.filter((l) => l.groupId != null && s.scope.groupIds.has(l.groupId));
const logs = filterGroupId
? allowed.filter((l) => l.groupId === filterGroupId)
: allowed;
const logs = filterGroupId ? allowed.filter((l) => l.groupId === filterGroupId) : allowed;
return c.json({ logs: logs.slice(0, limit) });
});