Merge changes

This commit is contained in:
Jannis Portmann 2021-05-08 17:07:25 +02:00
commit 9b134dca40

View file

@ -76,7 +76,7 @@ class UserController extends AbstractController
{ {
$user = $this->getUser(); $user = $this->getUser();
$user->removeWish($wish); $this->entityManager->remove($wish);
$this->entityManager->persist($wish); $this->entityManager->persist($wish);
$this->entityManager->flush(); $this->entityManager->flush();