Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apps/dashboard/lib/trpc/routers/audit/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ export const fetchAuditLog = rateLimitedProcedure(ratelimit.read)
}

const { slicedItems, hasMore } = omitLastItemForPagination(result.logs, params.limit);

// logs are sorted by id, to make our pagination work
// here we need to resort them by time for displaying the table in the correct order
slicedItems.sort((a, b) => b.time - a.time);

const uniqueUsers = await fetchUsersFromLogs(slicedItems);

const items: AuditLogsResponse["auditLogs"] = slicedItems.map((l) => {
Expand Down
1 change: 0 additions & 1 deletion internal/checkly/src/__checks__/heartbeats.check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ new HeartbeatCheck("workflows-count-keys", {
graceUnit: "minutes",
});


new HeartbeatCheck("quota-checks", {
alertChannels: [slack],
name: "Github Actions: Quota Checks",
Expand Down
Loading