Skip to content

Commit

Permalink
fix repeat name
Browse files Browse the repository at this point in the history
  • Loading branch information
freeziyou committed Feb 26, 2024
1 parent d3a66ad commit 13288a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/tasks/lark/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,11 @@ def create_chat_group_for_repo(
# 把user_id_list中的每个user_id查User表,获取每个人的名字
user_name_list = [
name
for name, in db.session.query(IMUser.name).filter(
for name, in db.session.query(IMUser.name)
.filter(
IMUser.openid.in_(user_id_list),
)
.distinct()
]
try:
chat_id = args[1]["event"]["message"]["chat_id"]
Expand Down

0 comments on commit 13288a1

Please sign in to comment.