happy-server/sources
Steve Korshakov 5ede024b4c fix: handle empty JSON bodies in content type parser
Fix "Unexpected end of JSON input" error by:
- Check for empty/whitespace-only body before parsing
- Return empty object for empty bodies instead of failing
- Add detailed error logging for debugging JSON parse failures
- Prevent crashes on malformed or empty request bodies

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 00:27:32 -07:00
..
app fix: handle empty JSON bodies in content type parser 2025-08-27 00:27:32 -07:00
modules feat: resolve public url for avatar 2025-08-26 22:39:28 -07:00
services ref: remove updates 2025-07-26 02:24:05 -07:00
storage fix: fix upload path 2025-08-26 23:03:43 -07:00
utils feat: handle avatar, first name and last name 2025-08-26 22:17:11 -07:00
main.ts wip: add files, fix tweetnacl in esm 2025-08-26 21:46:55 -07:00
types.ts feat: handle avatar, first name and last name 2025-08-26 22:17:11 -07:00