aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-14 11:01:07 -0700
committerAdam Soltys <[email protected]>2024-10-14 11:01:07 -0700
commit3d879583de7722ce0e962930dcf96bbf9c6d9195 (patch)
tree158772dee5c87c556b5b343d448b2245c247b9df /routes
parent0c24ae9feedbcc90d88b6dc1be46095fb786dd93 (diff)
downloadcoinos-server-3d879583de7722ce0e962930dcf96bbf9c6d9195.tar.gz
coinos-server-3d879583de7722ce0e962930dcf96bbf9c6d9195.zip
add to pending right away
Diffstat (limited to 'routes')
-rw-r--r--routes/nostr.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/nostr.ts b/routes/nostr.ts
index ddec8803..99b2a5c3 100644
--- a/routes/nostr.ts
+++ b/routes/nostr.ts
@@ -85,7 +85,7 @@ export default {
await s(`${pubkeys}:pubkeys`, pubkeys);
}
- if (!pubkeys.length || pubkeysOnly) return res.send(pubkeys);
+ if (!pubkeys.length || pubkeysOnly) return res.send(pubkeys);
let cache = await g(`${pubkey}:follows`);
if (cache && cache.t >= created_at) ({ follows } = cache);