mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
fix: offset of zero 0 in accountSearchController
This commit is contained in:
parent
994dff8e79
commit
89e475ca4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue