aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-14 13:24:27 -0700
committerAdam Soltys <[email protected]>2024-10-14 13:24:27 -0700
commit842c29086c0dd06554f6809194c7a2e86fd4938a (patch)
treea468da784540791723487e6016f9b277d410927a
parentbf177a4258da898dc4b7984eb4e03c05f52249e3 (diff)
downloadcoinos-server-842c29086c0dd06554f6809194c7a2e86fd4938a.tar.gz
coinos-server-842c29086c0dd06554f6809194c7a2e86fd4938a.zip
cache follows
-rw-r--r--routes/nostr.ts2
1 files changed, 1 insertions, 1 deletions
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);