From 13c8faa65dc75a14a6eb6b4dc8cfc677c3cb5c47 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 6 Mar 2026 15:11:53 -0800 Subject: drop abstract pool use --- routes/nostr.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'routes') diff --git a/routes/nostr.ts b/routes/nostr.ts index de6dac13..8e189f3d 100644 --- a/routes/nostr.ts +++ b/routes/nostr.ts @@ -1,4 +1,3 @@ -import config from "$config"; import { db, g } from "$lib/db"; import ln from "$lib/ln"; import { @@ -7,7 +6,6 @@ import { getCount, getNostrUser, getProfile, - pool, publish, q, serverPubkey, @@ -66,7 +64,7 @@ export default { const missing = pubkeys.filter((p) => !found.includes(p)); const missingProfiles = ( - await pool.querySync(config.relays, { + await q({ kinds: [0], authors: missing, }) -- cgit v1.2.3