Files
fleet/changes/43032-post-packs-null-name
T
Juan Fernandez 8228f50511 Reject null name on POST /packs (#43032)
Fixes #43032 

Added a nil-check in NewPack so a missing/null name returns the same
BadRequestError as an empty-string name.
2026-05-13 07:24:06 -04:00

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.