We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb7656e commit aa58f0fCopy full SHA for aa58f0f
index.py
@@ -51,9 +51,9 @@ def handler(event: JsonType, context):
51
# Create a response
52
response = {
53
"statusCode": 200,
54
- "body": chatbot_response
+ "body": json.dumps(chatbot_response)
55
}
56
57
- # print("Response:", json.dumps(response, indent=2))
+ print("Response:", json.dumps(response, indent=2))
58
59
- return json.dumps(response)
+ return response
0 commit comments