fix a suscripcion de lista

parent b20ce9cb
......@@ -86,6 +86,7 @@ class ListadoController extends AbstractController
$suscripcion->setSusVigente(PluSuscripcion::VIGENTE);
$em->persist($suscripcion);
$em->flush();
$json->setData(array('success' => 'OK.'));
$json->setStatusCode(JsonResponse::HTTP_OK);
return $json;
......
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