mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Merge pull request #2717 from internetee/fix-poll-message-to-invalid-company-ident
feat: Add invalid ident notification for company register status checks
This commit is contained in:
commit
ce50664930
9 changed files with 65 additions and 32 deletions
|
@ -39,7 +39,7 @@ namespace :company_status do
|
|||
|
||||
puts "*** Run 3 step. I process companies, update their information, and sort them into different files based on whether the companies are missing or removed from the business registry ***"
|
||||
|
||||
whitelisted_companies = JSON.parse(ENV['whitelist_companies']) # ["12345678", "87654321"]
|
||||
whitelisted_companies = ENV['whitelist_companies'].present? ? JSON.parse(ENV['whitelist_companies']) : []
|
||||
|
||||
contacts_query = Contact.where(ident_type: 'org', ident_country_code: 'EE')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue