Skip to content

Commit

Permalink
Update search_api.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-zag committed Feb 28, 2024
1 parent 6fcfd31 commit 9e5bdf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/search_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def call
@result = get_companies_house(@organisation_id)
when Common::AdditionalIdentifier::SCHEME_ENG_WALES_CHARITY, Common::AdditionalIdentifier::SCHEME_NORTHEN_IRELAND_CHARITY, Common::AdditionalIdentifier::SCHEME_SCOTISH_CHARITY
@result = get_charity(@organisation_id, @scheme_id)
when Common::AdditionalIdentifier::SCHEME_DANDB
@result = get_duns(@organisation_id)
# when Common::AdditionalIdentifier::SCHEME_DANDB
# @result = get_duns(@organisation_id)
when Common::AdditionalIdentifier::SCHEME_NHS
@result = get_nhs(@organisation_id)
when Common::AdditionalIdentifier::SCHEME_DFE
Expand Down

0 comments on commit 9e5bdf4

Please sign in to comment.