diff --git a/etl/hubspot/hubspot_deal_differ.py b/etl/hubspot/hubspot_deal_differ.py index b2a9024b2..29fd15c35 100644 --- a/etl/hubspot/hubspot_deal_differ.py +++ b/etl/hubspot/hubspot_deal_differ.py @@ -175,10 +175,8 @@ class HubspotDealDiffer: def check_for_abri_survey_creation( new_deal: Dict[str, str], old_deal: HubspotDealData ) -> bool: - if ( - new_deal.get("project_code") - != HubspotDealDiffer.ABRI_CONDITION_PROJECT_CODE - ): + new_project_code = (new_deal.get("project_code") or "").lower() + if new_project_code != HubspotDealDiffer.ABRI_CONDITION_PROJECT_CODE.lower(): return False return old_deal.confirmed_survey_date is None