aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-github-lambda
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-github-lambda')
-rw-r--r--src/blogc-github-lambda/lambda_function.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-github-lambda/lambda_function.py.in b/src/blogc-github-lambda/lambda_function.py.in
index 2883eff..8c55402 100644
--- a/src/blogc-github-lambda/lambda_function.py.in
+++ b/src/blogc-github-lambda/lambda_function.py.in
@@ -239,4 +239,4 @@ def lambda_handler(event, context):
if 'Sns' in record:
blogc_handler(record['Sns']['Message'])
elif 'body' in event: # api-gateway
- return api_gateway_handler(event['body'])
+ return api_gateway_handler(event)