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