Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
freeziyou committed Feb 21, 2024
1 parent 1d6e63c commit b6fbaed
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions server/tasks/lark/lark.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,6 @@ def get_contact_by_lark_application(application_id):
db.session.add(bind_user)
db.session.commit()
user_ids.append(bind_user_id)
else:
# 如果已拉取过用户则更新 bind_user 信息
db.session.query(BindUser).filter(
BindUser.id == bind_user_id
).update(
dict(
name=item["name"],
avatar=item["avatar"]["avatar_origin"],
extra=item,
)
)
db.session.commit()
db.session.query(IMApplication).filter(
IMApplication.id == application.id,
).update(dict(status=1))
Expand Down

0 comments on commit b6fbaed

Please sign in to comment.