GRN-93: Fix for issue with excesive requests to LB (#447)

* Fix for issue with excesive requests to lb

* Fixed issue with rspec on users not passing when run alone

* Include dotenv in production
This commit is contained in:
Jesus Federico
2019-04-10 10:12:32 -04:00
committed by GitHub
parent c07cfd0d93
commit 2b0301da38
11 changed files with 17 additions and 10 deletions

View File

@ -31,7 +31,7 @@ module BbbApi
# Rereives info from the loadbalanced in regards to a Provider (or tenant).
def retrieve_provider_info(provider, api = 'api', route = 'getUser')
# Include Omniauth accounts under the Greenlight provider.
provider ||= 'greenlight'
raise "Provider not included." if !provider || provider.empty?
# Build the URI.
uri = encode_bbb_url(