Skip to content

Commit

Permalink
fixed permission is None
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Aug 29, 2024
1 parent 5a23f3c commit 439db33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/services/dataset_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ def get_datasets_by_ids(ids, tenant_id):

@staticmethod
def create_empty_dataset(
tenant_id: str, name: str, indexing_technique: Optional[str], account: Account,
permission: Optional[str] = None
tenant_id: str, name: str, indexing_technique: Optional[str], account: Account, permission: Optional[str] = None
):
# check if dataset name already exists
if Dataset.query.filter_by(name=name, tenant_id=tenant_id).first():
Expand Down

0 comments on commit 439db33

Please sign in to comment.