Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: Satrajit Ghosh <[email protected]>
  • Loading branch information
yarikoptic and satra authored Jan 16, 2023
1 parent 48a885d commit 08b9257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dandiapi/api/services/dandiset/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def create_dandiset(

def delete_dandiset(*, user, dandiset: Dandiset) -> None:
if not user.has_perm('owner', dandiset):
raise NotAllowed('Cannot delete dandsets which you do not own.')
raise NotAllowed('Cannot delete dandisets which you do not own.')
if dandiset.embargo_status != Dandiset.EmbargoStatus.OPEN:
raise NotAllowed('Cannot delete dandisets which are embargoed.')
if dandiset.versions.exclude(version='draft').exists():
Expand Down

0 comments on commit 08b9257

Please sign in to comment.