From 97289304ebe78af081069f0ddff5d2dc31435e0e Mon Sep 17 00:00:00 2001 From: Kial Date: Thu, 14 Sep 2023 15:21:43 -0700 Subject: [PATCH] solr-feeder:pass good standing along (#1416) Signed-off-by: Kial Jinnah --- solr-feeder/solr_feeder/services/colin.py | 1 + solr-feeder/solr_feeder/version.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/solr-feeder/solr_feeder/services/colin.py b/solr-feeder/solr_feeder/services/colin.py index 7a2647bb9..8231c2983 100644 --- a/solr-feeder/solr_feeder/services/colin.py +++ b/solr-feeder/solr_feeder/services/colin.py @@ -63,6 +63,7 @@ def get_business_info(legal_type: str, identifier: str) -> tuple[dict, dict]: business = { # add BC prefix to payload if its a BC limited company 'email': res_json['business']['email'], + 'goodStanding': res_json['business'].get('goodStanding', None), 'identifier': f'BC{identifier}' if legal_type == 'BC' else identifier, 'legalName': res_json['business']['legalName'], 'legalType': legal_type, diff --git a/solr-feeder/solr_feeder/version.py b/solr-feeder/solr_feeder/version.py index 0f560d881..dc7ff298c 100644 --- a/solr-feeder/solr_feeder/version.py +++ b/solr-feeder/solr_feeder/version.py @@ -21,4 +21,4 @@ Development release segment: .devN """ -__version__ = '2.0.4' # pylint: disable=invalid-name +__version__ = '2.0.5' # pylint: disable=invalid-name