diff --git a/src/storages/EventsDB.ts b/src/storages/EventsDB.ts index 591a1376..8816df97 100644 --- a/src/storages/EventsDB.ts +++ b/src/storages/EventsDB.ts @@ -327,7 +327,7 @@ class EventsDB extends NPostgres { .where('domain', 'in', [...domains]); if (filter.authors) { - query.where('pubkey', 'in', filter.authors); + query.where('pubkey', 'in', filter.authors); // isn't Kysely immutable? } const pubkeys = await query.execute().then((rows) => rows.map((row) => row.pubkey));