From 6460ca46e47f43a87146da4755d8d45e2bba9560 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 16 Oct 2018 21:27:26 +0200 Subject: github-lambda: http accept code is 202, not 201 --- src/blogc-github-lambda/lambda_function.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/blogc-github-lambda/lambda_function.py.in b/src/blogc-github-lambda/lambda_function.py.in index e969329..08b2e2b 100644 --- a/src/blogc-github-lambda/lambda_function.py.in +++ b/src/blogc-github-lambda/lambda_function.py.in @@ -245,7 +245,7 @@ def api_gateway_handler(event): traceback.print_exc() return api_gateway_response(500, 'ERROR: %s' % err) - return api_gateway_response(201, 'ACCEPTED') + return api_gateway_response(202, 'ACCEPTED') def lambda_handler(event, context): -- cgit v1.2.3-18-g5258