Skip to content

Commit

Permalink
CM-378: fixed code
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Jan 3, 2024
1 parent 837c3e3 commit f88016d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social_protection/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def import_beneficiaries(self,
def validate_import_beneficiaries(self, import_file: InMemoryUploadedFile, benefit_plan: BenefitPlan):
dataframe = self._load_import_file(import_file)
self._validate_dataframe(dataframe)
validated_dataframe = self._validate_possible_beneficiaries(dataframe, benefit_plan)
validated_dataframe = self._validate_possible_beneficiaries(dataframe, benefit_plan)
return {'success': True, 'data': validated_dataframe}

def _validate_possible_beneficiaries(self, dataframe: DataFrame, benefit_plan: BenefitPlan) -> DataFrame:
Expand Down

0 comments on commit f88016d

Please sign in to comment.