mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-02 19:55:18 +02:00
feat(gateway): enhance WhatsApp bridge with pairing timeout and health check integration
This commit is contained in:
parent
9143cb6ad1
commit
389a51d494
5 changed files with 227 additions and 47 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue