bugfix
This commit is contained in:
parent
68eff9086b
commit
befa093a30
@ -174,8 +174,8 @@ class WechatGateway(Gateway):
|
|||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
}) as resp:
|
}) as resp:
|
||||||
ret = await resp.json()
|
ret = await resp.json()
|
||||||
url = ret.get("h5_url")
|
returl = ret.get("h5_url")
|
||||||
if url is None:
|
if returl is None:
|
||||||
e = Exception(f'{ret=} error')
|
e = Exception(f'{ret=} error')
|
||||||
raise e
|
raise e
|
||||||
return ret.get("h5_url")
|
return ret.get("h5_url")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user