Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanaktas0 committed Dec 23, 2023
1 parent a85ecaa commit 83a3c9d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions project/backend/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 83a3c9d

Please sign in to comment.