From 597cd1c83f737a3d6c0364f97b666682fd73d896 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 2 Jul 2026 16:52:00 +0000 Subject: [PATCH] =?UTF-8?q?Abri=20survey=20amendment=20trigger=20fires=20w?= =?UTF-8?q?hen=20the=20confirmed=20survey=20time=20changes=20on=20an=20Abr?= =?UTF-8?q?i=20condition=20deal=20=F0=9F=9F=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- etl/hubspot/hubspot_deal_differ.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etl/hubspot/hubspot_deal_differ.py b/etl/hubspot/hubspot_deal_differ.py index 9a94ed4fb..8e11efa52 100644 --- a/etl/hubspot/hubspot_deal_differ.py +++ b/etl/hubspot/hubspot_deal_differ.py @@ -197,7 +197,10 @@ class HubspotDealDiffer: return False new_survey_date = parse_hs_date(new_deal.get("confirmed_survey_date")) - return old_deal.confirmed_survey_date != new_survey_date + if old_deal.confirmed_survey_date != new_survey_date: + return True + + return old_deal.confirmed_survey_time != new_deal.get("confirmed_survey_time") @staticmethod def _is_abri_condition_deal(