Skip to content

Commit 2da0578

Browse files
authored
Merge pull request #19 from aarontc/patch-1
Return lambda entrypoint method name to `handler`
2 parents b3464a7 + 71c8e84 commit 2da0578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
ENV['RACK_ENV'] ||= 'production'
2424

2525

26-
def lambda_handler(event:, context:)
26+
def handler(event:, context:)
2727
# Check if the body is base64 encoded. If it is, try to decode it
2828
body = if event['isBase64Encoded']
2929
Base64.decode64 event['body']

0 commit comments

Comments
 (0)