Merge pull request 'refs #1850 actually send ping' (#22) from ping2 into main

Reviewed-on: #22
ping3 3.1.0
Natalia Serrano 2025-04-07 13:33:18 +02:00
commit 0e113ecd49
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@ class ogLiveWorker(ServerWorker):
"ida": self.idaula,
"timestamp": int (time.time()),
}
logger.debug (f'would send ping ({body})')
#self.REST.sendMessage ('clients/status/webhook', body)
logger.debug (f'about to send ping ({body})')
self.REST.sendMessage ('clients/status/webhook', body)
def interfaceAdmin (self, method, parametros=[]):
if method in ['Apagar', 'CambiarAcceso', 'Configurar', 'CrearImagen', 'EjecutarScript', 'getConfiguration', 'getIpAddress', 'IniciarSesion', 'InventarioHardware', 'InventarioSoftware', 'Reiniciar', 'RestaurarImagen']: