diff --git a/src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php b/src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php index 13bb79cb2..44998043b 100644 --- a/src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php +++ b/src/Bundle/ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php @@ -24,8 +24,8 @@ class AddressNormalizer implements NormalizerAwareInterface, NormalizerInterface $data['floor'] = $address->getFloor(); $data['corridor'] = $address->getCorridor(); $data['steps'] = $address->getSteps(); - $data['flat'] = $address->getBuildingName(); - $data['buildingName'] = $address->getFlat(); + $data['flat'] = $address->getFlat(); + $data['buildingName'] = $address->getBuildingName(); $data['distribution'] = $address->getDistribution(); $data['extra'] = $address->getExtra();