From 08b925701f0fb02d6a05546428c348c8bfe5ade0 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 16 Jan 2023 18:03:43 -0500 Subject: [PATCH] Typo fix Co-authored-by: Satrajit Ghosh --- dandiapi/api/services/dandiset/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dandiapi/api/services/dandiset/__init__.py b/dandiapi/api/services/dandiset/__init__.py index 2834d06f3..ffd21d49e 100644 --- a/dandiapi/api/services/dandiset/__init__.py +++ b/dandiapi/api/services/dandiset/__init__.py @@ -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():