aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/nostr.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/nostr.ts b/routes/nostr.ts
index fa20aa43..f03af265 100644
--- a/routes/nostr.ts
+++ b/routes/nostr.ts
@@ -164,8 +164,7 @@ export default {
async count(req, res) {
try {
let { pubkey } = req.params;
- let count = await getCount(pubkey);
- res.send(count);
+ res.send(await getCount(pubkey));
} catch (e) {
bail(res, e.message);
}