From 17656bfe7346bfb1c948e3c82d9960b5a795621f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 10 Oct 2024 16:05:15 -0700 Subject: follow counts --- routes/nostr.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'routes') 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); } -- cgit v1.2.3