There was an error while loading. Please reload this page.
2 parents b3464a7 + 71c8e84 commit 2da0578Copy full SHA for 2da0578
lambda.rb
@@ -23,7 +23,7 @@
23
ENV['RACK_ENV'] ||= 'production'
24
25
26
-def lambda_handler(event:, context:)
+def handler(event:, context:)
27
# Check if the body is base64 encoded. If it is, try to decode it
28
body = if event['isBase64Encoded']
29
Base64.decode64 event['body']
0 commit comments