Fix erreur to create form

This commit is contained in:
mckmonster 2024-08-02 18:06:52 +02:00
parent 09d87dee72
commit 852a962f6f

View file

@ -17,6 +17,7 @@ class CreateFormsCommand extends Command
{ {
protected $wiki; protected $wiki;
protected $eleveFormId; protected $eleveFormId;
protected $yunohostFormId;
public function __construct(Wiki &$wiki) public function __construct(Wiki &$wiki)
{ {
@ -25,6 +26,7 @@ class CreateFormsCommand extends Command
$params = $this->wiki->services->get(ParameterBagInterface::class); $params = $this->wiki->services->get(ParameterBagInterface::class);
$meeo_config = $params->get('meeo'); $meeo_config = $params->get('meeo');
$this->eleveFormId = $meeo_config['elevesFormId']; $this->eleveFormId = $meeo_config['elevesFormId'];
$this->yunohostFormId = $meeo_config['yunohostFormId'];
} }
protected function configure() protected function configure()