fix admin status
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good

This commit is contained in:
juanjo
2026-04-12 22:56:35 +02:00
parent e5908b1880
commit 3da81a9495
5 changed files with 49 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
class Admin:
def get_status_action(self):
"""
Lógica para comprobar la salud del sistema.
Devuelve el estado básico del entorno.
"""
# En el futuro, podrías usar get_parameterized aquí si quisieras
# consultar estados en la base de datos.
return {
"status": "ok",
"message": "V-Encore API System is active",
"environment": "dev" # Esto podría venir de una variable de entorno
}