fix: The conversation user in the workflow cannot be passed into the function (#3685)

This commit is contained in:
shaohuzhang1 2025-07-21 14:47:35 +08:00 committed by GitHub
parent 2ec98d9c3b
commit e85d5b9714
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,