fix utiles

parent 8b279658
......@@ -37,7 +37,7 @@ class EnviarWapushUsuariosCommand extends Command {
protected function execute(InputInterface $input, OutputInterface $output) {
$log = Utiles::setLog('App\Command::EnviarWapushUsuariosCommand', 'command/enviarWapushUsuarios');
$io = new SymfonyStyle($input, $output);
$suscripciones = $this->em->getRepository(PluSuscripcion::class)->findBy(array("susId"=>1));
$suscripciones = $this->em->getRepository(PluSuscripcion::class)->findBy(array("susVigente" => 1));
$log->debug(print_r($suscripciones));
//tipo informacional(prueba)
foreach ($suscripciones as $index => $suscripcion):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment