Skip to content
Closed
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
4 changes: 3 additions & 1 deletion lumen/src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,9 @@ export function loadBookStates(): Promise<Map<string, BookState>> {
bookFormat?: string;
media: { status: number; identifiers?: { value: string }[] };
}[];
}>('/request?take=500&skip=0&filter=all&sort=added&mediaType=book')
// only pending and approved requests count below: "active" (pending,
// approved, failed; any media status) instead of the whole history
}>('/request?take=500&skip=0&filter=active&sort=added&mediaType=book')
.then((d) => {
const m = new Map<string, BookState>();
for (const r of d.results) {
Expand Down
Loading