forked from External/greenlight
Removed left over testing code
This commit is contained in:
parent
347ed2bdc1
commit
56be3a5b13
|
@ -138,7 +138,7 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
# Checks to see if the user exists
|
# Checks to see if the user exists
|
||||||
begin
|
begin
|
||||||
retrieve_provider_info(@user_domain + 't', 'api2', 'getUserGreenlightCredentials')
|
retrieve_provider_info(@user_domain, 'api2', 'getUserGreenlightCredentials')
|
||||||
rescue => e
|
rescue => e
|
||||||
if e.message.eql? "No user with that id exists"
|
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"),
|
render "errors/not_found", locals: { message: I18n.t("errors.not_found.user_not_found.message"),
|
||||||
|
|
Loading…
Reference in New Issue