diff --git a/lumen/src/hooks.ts b/lumen/src/hooks.ts index f994684..8a25ada 100644 --- a/lumen/src/hooks.ts +++ b/lumen/src/hooks.ts @@ -424,7 +424,9 @@ export function loadBookStates(): Promise> { 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(); for (const r of d.results) {