]> git.cworth.org Git - turbot/blobdiff - turbot_lambda/turbot_lambda.py
Simply return the result string from the Lambda
[turbot] / turbot_lambda / turbot_lambda.py
index c2459e879f04e7912380c2eb5602a385387253fd..d441565186ab563470778c603a08732417f4cece 100644 (file)
@@ -6,9 +6,4 @@ def turbot_lambda(event, context):
     Currently only calls into the rot() function but may become more
     sophisticated later on."""
 
-    result = rot(event['args'])
-
-    return {
-        'statusCode': 200,
-        'body': result
-    }
+    return rot(event['text'])