WindsurfAPI
WindsurfAPI copied to clipboard
fix: return 400 for malformed JSON in dashboard API
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.