lib/lamby/templates/api_gateway/app.rb in lamby-0.5.1 vs lib/lamby/templates/api_gateway/app.rb in lamby-0.6.0
- old
+ new
@@ -4,7 +4,7 @@
require_relative 'config/environment'
$app = Rack::Builder.new { run Rails.application }.to_app
def handler(event:, context:)
- Lamby.handler $app, event, context
+ Lamby.handler $app, event, context, rack: :api
end