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

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

No files matched your search

+1 -1
View File
@@ -46,4 +46,4 @@ export function useSendLogs() {
}
return { logs, loading, needLogin, error, load, loadById };
}
}
+1 -3
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) });
});