feat(gateway): enhance WhatsApp bridge with pairing timeout and health check integration

This commit is contained in:
Anish Sarkar 2026-05-29 13:37:45 +05:30
parent 9143cb6ad1
commit 389a51d494
5 changed files with 227 additions and 47 deletions

View file

@ -90,7 +90,9 @@ async def request_pairing_code(
@router.get("/health")
async def bridge_health() -> dict[str, Any]:
async def bridge_health(
user: User = Depends(current_active_user),
) -> dict[str, Any]:
_ensure_baileys_enabled()
adapter = WhatsAppBaileysAdapter()
try: