Correcciones finales: Carga de entorno en webhook, rutas en entrypoint y búsqueda SQL

This commit is contained in:
2026-02-01 01:25:14 -06:00
parent 4d07b4b14c
commit 300a5bede4
6 changed files with 91 additions and 6 deletions

View File

@@ -2,6 +2,10 @@
require_once __DIR__ . '/../../vendor/autoload.php';
use App\Services\TelegramBot;
use App\Config\Env;
// Cargar variables de entorno
Env::load();
// Recibir solicitud webhook
$input = file_get_contents('php://input');