mirror of https://github.com/langgenius/dify.git
This commit is contained in:
parent
ee0fe8c7f9
commit
4b8bd4b891
|
|
@ -201,8 +201,9 @@ class DatasetDocumentListApi(Resource):
|
|||
@setup_required
|
||||
@login_required
|
||||
@account_initialization_required
|
||||
def get(self, dataset_id: str):
|
||||
def get(self, dataset_id):
|
||||
current_user, current_tenant_id = current_account_with_tenant()
|
||||
dataset_id = str(dataset_id)
|
||||
page = request.args.get("page", default=1, type=int)
|
||||
limit = request.args.get("limit", default=20, type=int)
|
||||
search = request.args.get("keyword", default=None, type=str)
|
||||
|
|
|
|||
Loading…
Reference in New Issue