Skip to content

Commit

Permalink
feat: clear_partial_member_list when delete dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouhaoJiang committed Jul 8, 2024
1 parent 71f4268 commit 07044d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/controllers/console/datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def delete(self, dataset_id):

try:
if DatasetService.delete_dataset(dataset_id_str, current_user):
DatasetPermissionService.clear_partial_member_list(dataset_id_str)
return {'result': 'success'}, 204
else:
raise NotFound("Dataset not found.")
Expand Down

0 comments on commit 07044d6

Please sign in to comment.