can get endpoints raw element, get entity by a separate call

This commit is contained in:
2025-01-04 22:37:16 +01:00
parent 55bad44a22
commit a88bb6d33f
12 changed files with 64 additions and 29 deletions

View File

@ -339,7 +339,7 @@ class Subscriber extends ArrayCollection
return;
}
$currentTags = $this->endpoint->get($this->getId())->getTags();
$currentTags = $this->endpoint->getEntity($this->getId())->getTags();
$removeTags = array_diff($currentTags->toArray(), $this->getTags()->toArray());
if (count($removeTags)) {