Skip to content

fix: return 400 for malformed JSON in dashboard API#195

Open
MatrixNeoKozak wants to merge 1 commit into
dwgx:masterfrom
MatrixNeoKozak:fix/improvement-1781378126812
Open

fix: return 400 for malformed JSON in dashboard API#195
MatrixNeoKozak wants to merge 1 commit into
dwgx:masterfrom
MatrixNeoKozak:fix/improvement-1781378126812

Conversation

@MatrixNeoKozak

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant