diff options
| author | Adam Soltys <[email protected]> | 2024-10-14 13:24:27 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-14 13:24:27 -0700 |
| commit | 842c29086c0dd06554f6809194c7a2e86fd4938a (patch) | |
| tree | a468da784540791723487e6016f9b277d410927a | |
| parent | bf177a4258da898dc4b7984eb4e03c05f52249e3 (diff) | |
| download | coinos-server-842c29086c0dd06554f6809194c7a2e86fd4938a.tar.gz coinos-server-842c29086c0dd06554f6809194c7a2e86fd4938a.zip | |
cache follows
| -rw-r--r-- | routes/nostr.ts | 2 |
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); |
