This commit is contained in:
EC2 Default User 2018-05-20 23:52:16 +00:00
commit fb984b2e71
2 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,9 @@ def code(event, context):
content = urlsafe_b64decode(response['Items'][0]['content']) content = urlsafe_b64decode(response['Items'][0]['content'])
return { return {
"headers:": {"Content-Type": "text/plain"},
"statusCode": response['ResponseMetadata']['HTTPStatusCode'], "statusCode": response['ResponseMetadata']['HTTPStatusCode'],
"body": content "body": str(content)
} }
else: else:

View File

@ -83,7 +83,6 @@ package:
############################################################################################ ############################################################################################
functions: functions:
#TODO
#returns all known strategy names from the server #returns all known strategy names from the server
#and if they are private or not #and if they are private or not
strategies: strategies: