Skip to content

Commit 454abed

Browse files
committed
Fix get method
1 parent 2537a92 commit 454abed

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Subscription/Controller/SubscriberAttributeValueController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ public function getAttributeDefinition(
351351
throw $this->createNotFoundException('Subscriber attribute not found.');
352352
}
353353
$attribute = $this->attributeManager->getSubscriberAttribute($subscriber->getId(), $definition->getId());
354-
$this->attributeManager->delete($attribute);
355-
$this->entityManager->flush();
356354

357355
return $this->json(
358356
$this->normalizer->normalize($attribute),

0 commit comments

Comments
 (0)