Skip to content

Commit

Permalink
Removed left over testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Jul 17, 2019
1 parent 347ed2b commit 56be3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def set_user_domain

# Checks to see if the user exists
begin
retrieve_provider_info(@user_domain + 't', 'api2', 'getUserGreenlightCredentials')
retrieve_provider_info(@user_domain, 'api2', 'getUserGreenlightCredentials')
rescue => e
if e.message.eql? "No user with that id exists"
render "errors/not_found", locals: { message: I18n.t("errors.not_found.user_not_found.message"),
Expand Down

0 comments on commit 56be3a5

Please sign in to comment.