Skip to content

Commit e85d5b9

Browse files
authored
fix: The conversation user in the workflow cannot be passed into the function (#3685)
1 parent 2ec98d9 commit e85d5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/serializers/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def get_chat_user(self, asker=None):
9898
if self.chat_user_type == ChatUserType.CHAT_USER.value and chat_user_model:
9999
chat_user = QuerySet(chat_user_model).filter(id=self.chat_user_id).first()
100100
return {
101-
'id': chat_user.id,
101+
'id': str(chat_user.id),
102102
'email': chat_user.email,
103103
'phone': chat_user.phone,
104104
'nick_name': chat_user.nick_name,

0 commit comments

Comments
 (0)