From e85d5b971469b8d75160fab894bb1b70a199d33e Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Mon, 21 Jul 2025 14:47:35 +0800 Subject: [PATCH] fix: The conversation user in the workflow cannot be passed into the function (#3685) --- apps/application/serializers/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application/serializers/common.py b/apps/application/serializers/common.py index 7842c6b8d..b79da8811 100644 --- a/apps/application/serializers/common.py +++ b/apps/application/serializers/common.py @@ -98,7 +98,7 @@ class ChatInfo: if self.chat_user_type == ChatUserType.CHAT_USER.value and chat_user_model: chat_user = QuerySet(chat_user_model).filter(id=self.chat_user_id).first() return { - 'id': chat_user.id, + 'id': str(chat_user.id), 'email': chat_user.email, 'phone': chat_user.phone, 'nick_name': chat_user.nick_name,