aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-18 11:39:05 -0700
committerAdam Soltys <[email protected]>2026-03-18 11:39:05 -0700
commita8977f8c5c84b0c37c4fb36f0a0be5bf6f492f3d (patch)
tree49a3a13119ef23de9b1b9401700f9415514ea00d /routes
parente3ed16def9bee6947fd5d929b90f246a8e5ec2dc (diff)
downloadcoinos-server-a8977f8c5c84b0c37c4fb36f0a0be5bf6f492f3d.tar.gz
coinos-server-a8977f8c5c84b0c37c4fb36f0a0be5bf6f492f3d.zip
stop republishing external events and add NWC rate limiting
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Diffstat (limited to 'routes')
-rw-r--r--routes/users.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/users.ts b/routes/users.ts
index 999a6d05..00083e38 100644
--- a/routes/users.ts
+++ b/routes/users.ts
@@ -158,8 +158,7 @@ export default {
const user = await getNostrUser(key);
return c.json(pick(user, fields));
} catch (e) {
- err("problem getting user", key, e.message);
- return c.json(e.message, 500);
+ return c.json("User not found", 404);
}
},