Fixes #43032 Added a nil-check in NewPack so a missing/null name returns the same BadRequestError as an empty-string name.
2 lines
195 B
Plaintext
2 lines
195 B
Plaintext
- Fixed an issue where `POST /packs` with a JSON null name silently created a pack with an empty name; the endpoint now returns a 400 Bad Request, matching the behavior for an empty-string name.
|