Verified Commit d93fd151 authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Exclude FeedEntry#mediaAttachments from serializer

parent 070de5ad
......@@ -144,6 +144,7 @@ class FeedEntry {
/**
* @ORM\OneToMany(targetEntity=MediaAttachment::class, mappedBy="feedEntry", orphanRemoval=true)
* @Serializer\Exclude()
*/
private $mediaAttachments;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment