adjust event data
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-04-10 14:21:38 +08:00
1 parent 27ff70ba57
commit 240ebff657
1 file changed
+3 -1
+3 -1
View File
@@ -103,14 +103,16 @@ def do_bitable_record_add(data) -> None:
action_data = {}
for field in after_value:
tmp = "".join([item["text"] for item in json.loads(field.get("field_value"))])
if field.get("field_id") == "fldIV2G9lv":
tmp = "".join([item["text"] for item in json.loads(field.get("field_value"))])
action_data["title"] = tmp
if field.get("field_id") == "fldk5ImODy":
tmp = "".join([item["text"] for item in json.loads(field.get("field_value"))])
action_data["background"] = tmp
if field.get("field_id") == "fldfjXnFVa":
tmp = "".join([item["text"] for item in json.loads(field.get("field_value"))])
action_data["features"] = tmp
print(f"table_id: {table_id}")