Skip to content

Commit

Permalink
Remove done TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Sep 26, 2024
1 parent ce93394 commit 7218136
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2587,7 +2587,6 @@ def create_applied_controls_from_suggestions(self) -> list[AppliedControl]:
applied_controls: list[AppliedControl] = []
for reference_control in self.requirement.reference_controls.all():
try:
# TODO: handle name unicity in scope
_name = reference_control.name or reference_control.ref_id
applied_control, created = AppliedControl.objects.get_or_create(
name=_name,
Expand Down

0 comments on commit 7218136

Please sign in to comment.