refs #624. Changed endpoint enviaArchivo
parent
c6923d49fa
commit
a54e9b113e
|
@ -92,7 +92,7 @@ class OgAdmClientController extends AbstractController
|
||||||
|
|
||||||
$contents = file_get_contents($nfl);
|
$contents = file_get_contents($nfl);
|
||||||
|
|
||||||
return new JsonResponse(base64_encode($contents), Response::HTTP_OK);
|
return new JsonResponse(['contents' => base64_encode($contents)], Response::HTTP_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Route('/opengnsys/rest/__ogAdmClient/ComandosPendientes', methods: ['POST'])]
|
#[Route('/opengnsys/rest/__ogAdmClient/ComandosPendientes', methods: ['POST'])]
|
||||||
|
|
Loading…
Reference in New Issue