mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
getIdsBySearch: fix joining txt tokens
This commit is contained in:
parent
0d718e28b4
commit
ffe49b3648
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ export async function getIdsBySearch(
|
||||||
const tokens = NIP50.parseInput(q);
|
const tokens = NIP50.parseInput(q);
|
||||||
|
|
||||||
const ext = tokens.filter((token) => typeof token === 'object');
|
const ext = tokens.filter((token) => typeof token === 'object');
|
||||||
const txt = tokens.filter((token) => typeof token === 'string').join('');
|
const txt = tokens.filter((token) => typeof token === 'string').join(' ');
|
||||||
|
|
||||||
let query = kysely
|
let query = kysely
|
||||||
.selectFrom('nostr_events')
|
.selectFrom('nostr_events')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue