|
@@ -659,7 +659,7 @@ class _BookingClient:
|
|
|
# GraphQL ISE on send typically means the messaging 2FA session has expired.
|
|
# GraphQL ISE on send typically means the messaging 2FA session has expired.
|
|
|
# Re-trigger the SMS challenge and retry once.
|
|
# Re-trigger the SMS challenge and retry once.
|
|
|
_log.warning('booking send_message ISE on attempt 1 res=%s idempotency=%s — re-triggering credential refresh', reservation_id, idempotency)
|
|
_log.warning('booking send_message ISE on attempt 1 res=%s idempotency=%s — re-triggering credential refresh', reservation_id, idempotency)
|
|
|
- refresh_booking_cookies()
|
|
|
|
|
|
|
+ await asyncio.get_running_loop().run_in_executor(None, refresh_booking_cookies)
|
|
|
self._reload_from_env()
|
|
self._reload_from_env()
|
|
|
raw = await self._msg_gql('postFreeTextMessage', _POST_FREE_TEXT_MUTATION, payload, attempt=2)
|
|
raw = await self._msg_gql('postFreeTextMessage', _POST_FREE_TEXT_MUTATION, payload, attempt=2)
|
|
|
msg = ((raw.get('data') or {}).get('chatMessage') or {}).get('postFreeTextMessage') or {}
|
|
msg = ((raw.get('data') or {}).get('chatMessage') or {}).get('postFreeTextMessage') or {}
|