diff options
| author | Adam Soltys <[email protected]> | 2026-03-06 15:11:53 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-06 15:11:53 -0800 |
| commit | 13c8faa65dc75a14a6eb6b4dc8cfc677c3cb5c47 (patch) | |
| tree | a9e5e3b36fa4a9b869e9b4458be44c1d9a5b78e8 /routes | |
| parent | 770d3412e87e0ab981d61f2551ce0bd931b198f5 (diff) | |
| download | coinos-server-13c8faa65dc75a14a6eb6b4dc8cfc677c3cb5c47.tar.gz coinos-server-13c8faa65dc75a14a6eb6b4dc8cfc677c3cb5c47.zip | |
drop abstract pool use
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/nostr.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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, }) |
