From 83a3c9d654421f37a20e49a98563ef10d2cb9399 Mon Sep 17 00:00:00 2001 From: hakanaktas0 <104701041+hakanaktas0@users.noreply.github.com> Date: Sat, 23 Dec 2023 21:36:22 +0300 Subject: [PATCH] fix --- project/backend/api/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/project/backend/api/views.py b/project/backend/api/views.py index ad3ad9c6..03e87b4a 100644 --- a/project/backend/api/views.py +++ b/project/backend/api/views.py @@ -797,8 +797,6 @@ def remove_workspace_disproof(request): if not is_cont_workspace(request): return JsonResponse({'message': 'User does not have access to this workspace'}, status=403) workspace = Workspace.objects.get(workspace_id=workspace_id) - if workspace.node != None: - return JsonResponse({'message': 'You can not change the theorem entry of this workspace (created from node).'}, status=403) if workspace.is_finalized: return JsonResponse({'message': 'Workspace is already finalized'}, status=403) if workspace.disproof_entry != None: