fix user_name_id_map
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-06-06 19:35:07 +08:00
1 parent f6c75a4a7d
commit 560515016f
4 files changed
+14 -8

No files matched your search

+4 -4
View File
@@ -147,10 +147,10 @@ def do_bitable_record_add(data) -> None:
if "record_edited" in actions_name and action_data["status"] == "optgKzdQp5":
# 映射对应的用户 id
user_name_id_map = {
"剑心": "0be1759d-d05c-42ad-9ea4-846fc61dc191",
"驿站": "2b694f9f-c3b4-4658-9aad-f714a8ffbc86",
"波音": "668720500393357312",
"虚竹": "620156921033129984",
"剑心": "80808032853078016",
"驿站": "59882836586950656",
"波音": "668720500384968704",
"虚竹": "620156920605310976",
}
user_id = user_name_id_map.get(action_data["deal_person"])
action_data["deal_person_id"] = user_id