This commit is contained in:
EC2 Default User 2018-05-21 04:18:58 +00:00
commit 82928fd681

View File

@ -128,11 +128,7 @@ def code(event, context):
if response['Items'][0]["public"]:
content = urlsafe_b64decode(response['Items'][0]['content'])
return {
"headers:": {"Content-Type": "text/plain"},
"statusCode": 200,
"body": str(content)
}
return str(content)
else:
return {
"statusCode": 403,