diff --git a/app/api/endpoints/wecom.py b/app/api/endpoints/wecom.py index a06a116..fbfca60 100644 --- a/app/api/endpoints/wecom.py +++ b/app/api/endpoints/wecom.py @@ -126,7 +126,7 @@ async def wechat_corp_callback( if event == 'change_external_chat': chat_id = msg_root.find('ChatId').text change_type = msg_root.find('ChangeType').text - update_detail = msg_root.find('UpdateDetail') + update_detail = msg_root.find('UpdateDetail').text print(f"chat_id: {chat_id}") print(f"change_type: {change_type}")