limit to 5 just added items

This commit is contained in:
Hongbo Wu
2024-05-30 15:48:28 +08:00
parent bc4951f376
commit 8dfd876392

View File

@ -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(
{