homepage: add social action in evaluation serialisation

This commit is contained in:
2022-02-01 14:14:55 +01:00
parent de1dddbb85
commit 5d2cb8c712
6 changed files with 16 additions and 14 deletions

View File

@@ -44,7 +44,6 @@ class NotificationNormalizer implements NormalizerAwareInterface, NormalizerInte
*/
public function normalize($object, ?string $format = null, array $context = [])
{
dump($object);
$entity = $this->entityManager
->getRepository($object->getRelatedEntityClass())
->find($object->getRelatedEntityId());