From 6adcebfd452fa1f0b3d86d1772a3067688d622c6 Mon Sep 17 00:00:00 2001
From: Moreau Elise <moreau.elise13@gmail.com>
Date: Sun, 11 Oct 2020 15:41:35 +0200
Subject: [PATCH] add user repository in construct

---
 src/Application/Actions/Group/GroupAction.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Application/Actions/Group/GroupAction.php b/src/Application/Actions/Group/GroupAction.php
index 9b6ad55..1f994ee 100755
--- a/src/Application/Actions/Group/GroupAction.php
+++ b/src/Application/Actions/Group/GroupAction.php
@@ -25,6 +25,7 @@ abstract class GroupAction extends Action
         parent::__construct($logger);
         $this->em = $em;
         $this->groupRepository = $em->getRepository('App\Domain\Group\Group');
+        $this->userRepository = $em->getRepository('App\Domain\User\User');
         $this->twig = $twig;
         $this->flash = $flash;
     }
-- 
GitLab