lib/penthouse/app.rb in penthouse-0.11.0 vs lib/penthouse/app.rb in penthouse-0.12.0
- old
+ new
@@ -28,10 +28,10 @@
# @param env [Hash] the environment passed from Rack
# @raise [Penthouse::TenantNotFound] if the tenant cannot be found/switched to
# @return [void]
def call(env)
request = Rack::Request.new(env)
- runner.call(router.call(request)) do
+ runner.call(tenant_identifier: router.call(request)) do
app.call(env)
end
end
end
end