Skip to content

Commit

Permalink
Merge pull request bcgov#402 from stevenc987/main
Browse files Browse the repository at this point in the history
Duplicated AR entry created in COLIN by Business AR filing#328
  • Loading branch information
stevenc987 authored Oct 3, 2024
2 parents d0d544a + 28c6613 commit c21ceaf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions jobs/process_paid_filings/src/process_paid_filings/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,10 @@ def run():
pacific_founding_date = utc_founding_date.astimezone(pytz.timezone('America/Los_Angeles'))
filing["filing"]["business"]["foundingDate"] = pacific_founding_date.isoformat()

# Logger is not working well on dev so use print here
print("The occurances of filing_id {}" + str(filing_id)
+ " in colin_event_ids table is " + str(len(ColinEventId.get_by_filing_id(filing_id))))
application.logger.info(
f"The occurances of filing_id {filing_id} in colin_event_ids table \
is {len(ColinEventId.get_by_filing_id(filing_id))}"
)

if identifier in corps_with_failed_filing or len(ColinEventId.get_by_filing_id(filing_id)) > 0:
# pylint: disable=no-member; false positive
Expand Down

0 comments on commit c21ceaf

Please sign in to comment.