add record category
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-04-16 15:31:19 +08:00
1 parent d3af172a77
commit 55bed430d5
2 files changed
+10

No files matched your search

+4
View File
@@ -132,6 +132,7 @@ def process_new_demand(app_id, app_secret, data):
title = data.get("title")
background = data.get("background")
features = data.get("features")
category = data.get("category")
client = (
lark.Client.builder()
@@ -140,7 +141,10 @@ def process_new_demand(app_id, app_secret, data):
.log_level(lark.LogLevel.DEBUG)
.build()
)
space_id = "7268552249415319554"
parent_node_token = "ADkFwlLhmiLcqAk3QXLcZnHAnHf"
doc_id = create_doc(client, space_id, parent_node_token, title)
block_id = get_doc_block(client, doc_id)