Skip to content

Commit

Permalink
Merge pull request #205 from Ches-ctrl/2024-06-13-dev
Browse files Browse the repository at this point in the history
fixed namespace issue
  • Loading branch information
Ches-ctrl authored Jun 30, 2024
2 parents 6425988 + 9351d19 commit 6bc49af
Show file tree
Hide file tree
Showing 2 changed files with 484 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/company.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def set_website_url
return if url_website.present?

if Rails.env.production?
clearbit_company_info = Categorizer::CompanyDomainService.lookup_domain(name)
clearbit_company_info = Categorizer::CompanyDomain.lookup_domain(name)
self.url_website = clearbit_company_info['domain'] if clearbit_company_info && clearbit_company_info['domain'].present?
else
self.url_website = "https://www.example.com"
Expand Down
Loading

0 comments on commit 6bc49af

Please sign in to comment.