diff options
| author | Adam Soltys <[email protected]> | 2026-03-18 11:39:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-18 11:39:05 -0700 |
| commit | a8977f8c5c84b0c37c4fb36f0a0be5bf6f492f3d (patch) | |
| tree | 49a3a13119ef23de9b1b9401700f9415514ea00d /routes | |
| parent | e3ed16def9bee6947fd5d929b90f246a8e5ec2dc (diff) | |
| download | coinos-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.ts | 3 |
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); } }, |
