From 7b2a15007d2f9efee2bcb976be4b4fb47c5103b5 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Mon, 3 Mar 2025 08:53:33 +0800 Subject: [PATCH] update --- app/api/endpoints/wecom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")