From 858ec0c045395aefe53129c0affcb9fc1eb49e02 Mon Sep 17 00:00:00 2001 From: Dhiren Mathur Date: Mon, 22 Jul 2024 16:20:36 -0700 Subject: [PATCH] fix filename fstring --- server/routers/webhook.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/routers/webhook.py b/server/routers/webhook.py index 315a8e8..3f1fda5 100644 --- a/server/routers/webhook.py +++ b/server/routers/webhook.py @@ -337,7 +337,9 @@ def parse_blast_radius_to_markdown(blast_radius): endpoints = blast_radius[filename] for endpoint in endpoints: entry_point = endpoint["entryPoint"] - markdown_output += f"| {filename.replace("\\","/")} | {entry_point} |\n" + filename = filename.replace("\\","/") + markdown_output += f"| {filename} | {entry_point} |\n" + bot_name = os.environ["GITHUB_BOT_NAME"] markdown_output += f"\n Tag the app and use the /plan command with the name of the entry point to generate a Test Plan for it. Like: \n`@{bot_name} /planĀ  GET /end/point`" return markdown_output