lib/gooddata/bricks/middleware/gooddata_middleware.rb in gooddata-0.6.0.pre9 vs lib/gooddata/bricks/middleware/gooddata_middleware.rb in gooddata-0.6.0.pre10
- old
+ new
@@ -5,10 +5,10 @@
def call(params)
logger = params[:gdc_logger]
token_name = :GDC_SST
protocol_name = :GDC_PROTOCOL
- server_name = :GDC_SERVER
+ server_name = :GDC_HOSTNAME
project_id = params[:GDC_PROJECT_ID]
fail "SST (SuperSecureToken) not present in params" if params[token_name].nil?
server = if !params[protocol_name].empty? && !params[server_name].empty?
params[protocol_name] + "://" + params[server_name]
\ No newline at end of file