mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: The conversation user in the workflow cannot be passed into the function (#3685)
This commit is contained in:
parent
2ec98d9c3b
commit
e85d5b9714
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue