diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-10-16 21:27:26 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-10-16 21:27:26 +0200 |
commit | 6460ca46e47f43a87146da4755d8d45e2bba9560 (patch) | |
tree | 45059d0b6f659e1287933ed8c18753a0be1107d9 /src | |
parent | 452c0de1615f5f7e18c6bf8e8c9ca4f81607ced8 (diff) | |
download | blogc-6460ca46e47f43a87146da4755d8d45e2bba9560.tar.gz blogc-6460ca46e47f43a87146da4755d8d45e2bba9560.tar.bz2 blogc-6460ca46e47f43a87146da4755d8d45e2bba9560.zip |
github-lambda: http accept code is 202, not 201
Diffstat (limited to 'src')
-rw-r--r-- | src/blogc-github-lambda/lambda_function.py.in | 2 |
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 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): |