From 658cb9fee3dc301334e826c881bc57f4105cd40e Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 9 Jul 2024 19:38:29 +0000 Subject: [PATCH] refactor: Update URL for validating secret key in app.py The code changes in `app.py` update the URL for validating the secret key. The previous URL was using the endpoint `/api/code-repository/is-valid/{secretKey}`, and it has been changed to `/api/copilot-code-repository/is-valid/{secretKey}`. This change ensures that the correct endpoint is used for validating the secret key in the OneUptime service. --- LLM/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LLM/app.py b/LLM/app.py index 90f328b2d3..98fa4acded 100644 --- a/LLM/app.py +++ b/LLM/app.py @@ -31,7 +31,7 @@ async def validateSecretKey(secretKey): async with aiohttp.ClientSession() as session: print(f"Validating secret key") - url = f"{ONEUPTIME_URL}/api/code-repository/is-valid/{secretKey}" + url = f"{ONEUPTIME_URL}/api/copilot-code-repository/is-valid/{secretKey}" async with session.get(url) as response: print(response) if response.status == 200: