Skip to content

Commit

Permalink
CM-1004: revert redundant change
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Oct 8, 2024
1 parent 948625d commit 43ecf9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social_protection/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _resolve_import_beneficiaries_args(request):
raise ValueError(f'Workflow name not provided')
if not workflow_group:
raise ValueError(f'Workflow group not provided')
if ((group_aggregation_column) and
if (group_aggregation_column and
BenefitPlan.objects.filter(uuid=benefit_plan_uuid).first().type != BenefitPlan.BenefitPlanType.GROUP_TYPE):
raise ValueError(f'Group aggregation only for group type benefit plans')

Expand Down

0 comments on commit 43ecf9b

Please sign in to comment.