refs #624. Changed endpoint AutoExec

pull/10/head
Manuel Aranda Rosales 2024-08-26 14:54:03 +02:00
parent cb72571e39
commit e42f9613b2
1 changed files with 2 additions and 2 deletions

View File

@ -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'])]