mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-04-24 02:22:46 +08:00
fix: update miot cloud raise error msg (#551)
This commit is contained in:
parent
2703d68920
commit
da90e099d1
@ -166,7 +166,7 @@ class MIoTOauthClient:
|
||||
key in res_obj['result']
|
||||
for key in ['access_token', 'refresh_token', 'expires_in'])
|
||||
):
|
||||
raise MIoTOauthError(f'invalid http response, {http_res.text}')
|
||||
raise MIoTOauthError(f'invalid http response, {res_str}')
|
||||
|
||||
return {
|
||||
**res_obj['result'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user