Skip to content

Commit

Permalink
colin-api: good standing bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: Kial Jinnah <kialjinnah@gmail.com>
  • Loading branch information
kialj876 committed Sep 28, 2023
1 parent ba4c33f commit b978b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion colin-api/src/colin_api/models/business.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion colin-api/src/colin_api/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
Development release segment: .devN
"""

__version__ = '2.86.1' # pylint: disable=invalid-name
__version__ = '2.86.2' # pylint: disable=invalid-name

0 comments on commit b978b36

Please sign in to comment.