mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
limit to 5 just added items
This commit is contained in:
parent
bc4951f376
commit
8dfd876392
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ const publicItemToCandidate = (item: PublicItem): Candidate => ({
|
|||
|
||||
const getJustAddedCandidates = async (
|
||||
userId: string,
|
||||
limit = 100
|
||||
limit = 5 // limit to 5 just added candidates
|
||||
): Promise<Array<Candidate>> => {
|
||||
const libraryItems = await searchLibraryItems(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue