fix totp call sign (#3907)

This commit is contained in:
LawyZheng
2025-11-05 14:02:45 +08:00
committed by GitHub
parent 5929c5d984
commit 3c3b5c2db9
3 changed files with 5 additions and 126 deletions

View File

@@ -126,7 +126,9 @@ async def _get_otp_value_from_url(
api_key=api_key,
)
try:
json_resp = await aiohttp_post(url=url, data=request_data, headers=signed_data.headers, raise_exception=False)
json_resp = await aiohttp_post(
url=url, str_data=signed_data.signed_payload, headers=signed_data.headers, raise_exception=False
)
except Exception as e:
LOG.error("Failed to get otp value from url", exc_info=True)
raise FailedToGetTOTPVerificationCode(