From ffe49b3648917e42420826ab8195c38cb9576034 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 2 Feb 2025 21:39:49 -0600 Subject: [PATCH] getIdsBySearch: fix joining txt tokens --- src/utils/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/search.ts b/src/utils/search.ts index c73c5869..a39f23ff 100644 --- a/src/utils/search.ts +++ b/src/utils/search.ts @@ -54,7 +54,7 @@ export async function getIdsBySearch( const tokens = NIP50.parseInput(q); 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 .selectFrom('nostr_events')