Merge changes

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

View file

@ -75,8 +75,8 @@ class UserController extends AbstractController
public function deleteWish(Wish $wish): Response
{
$user = $this->getUser();
$user->removeWish($wish);
$this->entityManager->remove($wish);
$this->entityManager->persist($wish);
$this->entityManager->flush();