From 76af0bba6b58ae9eb8cf7fa07f7d30cf7c6072be Mon Sep 17 00:00:00 2001 From: Venkat Date: Fri, 22 Nov 2024 05:24:08 +0000 Subject: [PATCH] fix: Correct indentation for document creation in Outline (#6) --- app/main.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/main.py b/app/main.py index f538b0e..b58ca85 100644 --- a/app/main.py +++ b/app/main.py @@ -111,9 +111,10 @@ def main(): logger.debug(f"Markdown content: {markdown_content}") logger.info(f"Generated Markdown for AWS ORG: {aws_account_name}") - # Create new document in Outline - GetOutlineClient.create_document(parent_id, aws_account_name, markdown_content) - logger.info(f"Created {aws_account_name} doc successfully under parent doc: {GETOUTLINE_DOCUMENT_ID}") + # Create new document in Outline + GetOutlineClient.create_document(parent_id, aws_account_name, markdown_content) + logger.info(f"Created {aws_account_name} doc successfully under parent doc: {GETOUTLINE_DOCUMENT_ID}") + logger.info("Script execution completed successfully.") except Exception as e: logger.error(f"Script execution failed: {e}")