From 842c29086c0dd06554f6809194c7a2e86fd4938a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 14 Oct 2024 13:24:27 -0700 Subject: cache follows --- routes/nostr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/nostr.ts b/routes/nostr.ts index 40147361..f6caa10d 100644 --- a/routes/nostr.ts +++ b/routes/nostr.ts @@ -63,7 +63,7 @@ export default { let follows = []; let pubkeys = await g(`${pubkey}:pubkeys`); - if (!pubkeys || nocache) { + if (!pubkeys || !pubkeysOnly || nocache) { let filter = { kinds: [3], authors: [pubkey] }; let ev = await pool.get([config.nostr], filter, opts); -- cgit v1.2.3