fix data_source_detail_dict parameter error (#2000)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong 2024-01-11 17:49:20 +08:00 committed by GitHub
parent 5e97eb1840
commit 5e75f7022f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,7 +558,7 @@ class DocumentDetailApi(DocumentResource):
}
else:
process_rules = DatasetService.get_process_rules(dataset_id)
data_source_info = document.data_source_detail_dict_()
data_source_info = document.data_source_detail_dict
response = {
'id': document.id,
'position': document.position,