From b978b3627b61fbaeb8ba9603e79d1e2faef462fc Mon Sep 17 00:00:00 2001 From: Kial Jinnah Date: Thu, 28 Sep 2023 11:06:13 -0700 Subject: [PATCH] colin-api: good standing bug fix Signed-off-by: Kial Jinnah --- colin-api/src/colin_api/models/business.py | 2 +- colin-api/src/colin_api/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/colin-api/src/colin_api/models/business.py b/colin-api/src/colin_api/models/business.py index d471072bba..81fcbdbb7c 100644 --- a/colin-api/src/colin_api/models/business.py +++ b/colin-api/src/colin_api/models/business.py @@ -688,7 +688,7 @@ def is_in_good_standing(business: dict, cursor) -> Optional[bool]: # good standing is irrelevant to non active and nwpta businesses return None if business['corp_class'] in ['BC'] or business['corp_typ_cd'] in ['LLC', 'LIC', 'A', 'B']: - if business.get('state_typ_cd') in ['D1A', 'D1F', 'D1T', 'D2A', 'D2F', 'D2T', 'LIQ', 'LRL', 'LRS']: + if business.get('corp_state') in ['D1A', 'D1F', 'D1T', 'D2A', 'D2F', 'D2T', 'LIQ', 'LRL', 'LRS']: # Dissolution state or Liquidation or Limited Restoration or is NOT in good standing # - updates into Dissolution states occur irregularly via batch job # - updates out of these states occur immediately when filing is processed diff --git a/colin-api/src/colin_api/version.py b/colin-api/src/colin_api/version.py index 290b2a2c4c..20ed1ac49d 100644 --- a/colin-api/src/colin_api/version.py +++ b/colin-api/src/colin_api/version.py @@ -22,4 +22,4 @@ Development release segment: .devN """ -__version__ = '2.86.1' # pylint: disable=invalid-name +__version__ = '2.86.2' # pylint: disable=invalid-name