refs #624. Changed endpoint AutoExec
parent
cb72571e39
commit
e42f9613b2
|
@ -88,9 +88,9 @@ class OgAdmClientController extends AbstractController
|
|||
return new JsonResponse(['message' => 'File not found'], Response::HTTP_NOT_FOUND);
|
||||
}
|
||||
|
||||
//$contents = file_get_contents($nfl);
|
||||
$contents = file_get_contents($nfl);
|
||||
|
||||
return new JsonResponse(['contents' => base64_decode($nfl)], Response::HTTP_OK);
|
||||
return new JsonResponse(['contents' => base64_encode($contents)], Response::HTTP_OK);
|
||||
}
|
||||
|
||||
#[Route('/opengnsys/rest/__ogAdmClient/ComandosPendientes', methods: ['POST'])]
|
||||
|
|
Loading…
Reference in New Issue