Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincarrogan committed Dec 12, 2024
1 parent b0f1515 commit 5c35e70
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ def update_licencedecision_denial_reasons(apps, schema_editor):
.distinct()
)

for denial_reason, licence_decision_id in denial_reasons:
licence_decision = LicenceDecision.objects.get(pk=licence_decision_id)
licence_decision.denial_reasons.add(denial_reason)

updated_cases = set()
for denial_reason, licence_decision_id in denial_reasons:
licence_decision = LicenceDecision.objects.get(pk=licence_decision_id)
Expand Down

0 comments on commit 5c35e70

Please sign in to comment.