fix create doc bugs
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-04-16 17:22:57 +08:00
1 parent 2beb23a1d5
commit eff582dee4
2 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -113,7 +113,7 @@ def create_doc(client, space_id, parent_node_token, title):
return
print(lark.JSON.marshal(response.data))
return response.data.node.node_token
return response.data.node.node_token, response.data.node.obj_token
def get_doc_block(client, document_id):
@@ -316,7 +316,7 @@ if __name__ == "__main__":
if category == "optRTwYcra":
parent_node_token = "F4ivwKrgyiQ4zOkuLVFcTq9Bnee"
doc_id = create_doc(client, space_id, parent_node_token, title)
create_doc(client, space_id, parent_node_token, title)
pass