This commit is contained in:
yumoqing 2026-03-03 18:07:09 +08:00
parent 8399a28838
commit 7e66ae4d13

View File

@ -118,7 +118,8 @@ class WeChatMediaManager:
text = await resp.text()
if resp.status == 200:
result = json.loads(text)
return result['media_id']
debug(f'{text=}, {result=}')
return result.get('media_id')
else:
raise Exception(f"WeChat Upload Error: {text}")