Skip to content

Commit

Permalink
fixed permission is None (#7788)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong authored Aug 29, 2024
1 parent c441bea commit 8e311cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/services/dataset_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +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]
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 8e311cc

Please sign in to comment.