WindsurfAPI icon indicating copy to clipboard operation
WindsurfAPI copied to clipboard

fix: return 400 for malformed JSON in dashboard API

Open MatrixNeoKozak opened this issue 5 months ago • 0 comments

Addresses an issue where malformed JSON bodies in /dashboard/api/ endpoints were erroneously treated as empty objects instead of returning a 400 Bad Request error. This ensures consistent error handling for invalid JSON input across all API routes.

MatrixNeoKozak avatar Jun 13 '26 19:06 MatrixNeoKozak