fix: update status type patch was not working

(cherry picked from commit 4320142132c4812d9b6ece42cb8cc656e9065ff9)
This commit is contained in:
Shariq Ansari 2025-07-14 12:27:14 +05:30 committed by Mergify
parent c879fa57cf
commit 3332a74dab

View File

@ -27,7 +27,7 @@ def execute():
] ]
for status in deal_statuses: for status in deal_statuses:
if status.type is None or status.type == "": if not status.type or status.type is None or status.type == "Open":
if status.deal_status in openStatuses: if status.deal_status in openStatuses:
type = "Open" type = "Open"
elif status.deal_status in ongoingStatuses: elif status.deal_status in ongoingStatuses: