diff --git a/.changes/v3.9.1.md b/.changes/v3.9.1.md new file mode 100644 index 000000000..546f55b74 --- /dev/null +++ b/.changes/v3.9.1.md @@ -0,0 +1,3 @@ +## v3.9.1 - 2025-02-27 +### Fixed +* Fix post/patch request with missing 'type' property for gender diff --git a/CHANGELOG.md b/CHANGELOG.md index 477d99c11..8c3a94254 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## v3.9.1 - 2025-02-27 +### Fixed +* Fix post/patch request with missing 'type' property for gender + ## v3.9.0 - 2025-02-27 ### Feature * ([#349](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/349)) Suggest all referrers within actions of the accompanying period when creating an activity diff --git a/src/Bundle/ChillMainBundle/Serializer/Normalizer/GenderDocGenNormalizer.php b/src/Bundle/ChillMainBundle/Serializer/Normalizer/GenderDocGenNormalizer.php index 7361c7b96..fee232ddc 100644 --- a/src/Bundle/ChillMainBundle/Serializer/Normalizer/GenderDocGenNormalizer.php +++ b/src/Bundle/ChillMainBundle/Serializer/Normalizer/GenderDocGenNormalizer.php @@ -34,7 +34,7 @@ class GenderDocGenNormalizer implements ContextAwareNormalizerInterface, Normali 'id' => $gender->getId(), 'label' => $this->translatableStringHelper->localize($gender->getLabel()), 'genderTranslation' => $gender->getGenderTranslation(), - 'type' => 'chill_main_gender' + 'type' => 'chill_main_gender', ]; } }