Skip to content

Commit

Permalink
Codefactor fix 6 (Break the code)
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Oct 21, 2024
1 parent 8c2fa3f commit 61c49c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def get_timeline_info(self, request):
serializer_class=AppliedControlDuplicateSerializer,
)
def duplicate(self, request, pk):
(object_ids_view, _, _) = RoleAssignment.get_accessible_object_ids(
"""(object_ids_view, _, _) = RoleAssignment.get_accessible_object_ids(
Folder.get_root_folder(), request.user, AppliedControl
)
if UUID(pk) not in object_ids_view:
Expand Down Expand Up @@ -983,7 +983,7 @@ def duplicate_into_folder(
# link=applied_control.link,
# effort=applied_control.effort,
# cost=applied_control.cost,
)
)"""

"""applied_control = self.get_object()
data = request.data
Expand Down

0 comments on commit 61c49c8

Please sign in to comment.