diff --git a/freqtrade/aws/strategy.py b/freqtrade/aws/strategy.py index 4d4823faf..61b56384c 100644 --- a/freqtrade/aws/strategy.py +++ b/freqtrade/aws/strategy.py @@ -111,8 +111,9 @@ def code(event, context): content = urlsafe_b64decode(response['Items'][0]['content']) return { + "headers:": {"Content-Type": "text/plain"}, "statusCode": response['ResponseMetadata']['HTTPStatusCode'], - "body": content + "body": str(content) } else: diff --git a/serverless.yml b/serverless.yml index 63c09b96c..7c6aaaa65 100644 --- a/serverless.yml +++ b/serverless.yml @@ -83,7 +83,6 @@ package: ############################################################################################ functions: - #TODO #returns all known strategy names from the server #and if they are private or not strategies: