Add line ending to message

This commit is contained in:
Layla 2020-11-26 00:07:57 -05:00
parent 45642a55ac
commit 492e2c9579
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31

View File

@ -24,4 +24,4 @@ def lambda_handler(event, context):
for record in event["Records"]:
if "Sns" in record:
sns_event = record["Sns"]
repo.create_issue(sns_event["Subject"], body=sns_event["Message"] + "\nThis was generated by " + os.environ.get("GENERATED_OWNER", "AWS"))
repo.create_issue(sns_event["Subject"], body=sns_event["Message"] + "\n\nThis was generated by " + os.environ.get("GENERATED_OWNER", "AWS"))