mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-08 23:14:19 +01:00
fix: offset of zero 0 in accountSearchController
This commit is contained in:
@@ -136,7 +136,7 @@ const accountSearchController: AppController = async (c) => {
|
||||
}
|
||||
|
||||
const followedPubkeys: Set<string> = viewerPubkey ? await getFollowedPubkeys(viewerPubkey) : new Set();
|
||||
const pubkeys = Array.from(await getPubkeysBySearch(kysely, { q: query, limit, followedPubkeys }));
|
||||
const pubkeys = Array.from(await getPubkeysBySearch(kysely, { q: query, limit, offset: 0, followedPubkeys }));
|
||||
|
||||
let events = event ? [event] : await store.query([{ kinds: [0], authors: pubkeys, limit }], {
|
||||
signal,
|
||||
|
||||
Reference in New Issue
Block a user