From afc9c85bee4073a6756bbd1c541bb677bfb5fd3b Mon Sep 17 00:00:00 2001 From: sumansaurabh Date: Sun, 10 Mar 2024 22:09:45 +0530 Subject: [PATCH] fix azdevops --- src/azure_devops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure_devops.py b/src/azure_devops.py index a5370df..c7e9a3f 100644 --- a/src/azure_devops.py +++ b/src/azure_devops.py @@ -35,7 +35,7 @@ async def notify_error(message): async def initiate_documentation_generation( headers: dict, data: dict ) -> bool: - url: str = f"{base_url}/api/app/azDevops/generate/documentation" + url: str = f"{base_url}/api/app/azDevops/generate/diff/doc" print("Initiating documentation generation") print("URL: ", url) response = requests.post(url, headers=headers, json=data, timeout=600) @@ -53,7 +53,7 @@ async def initiate_documentation_generation( async def check_documentation_generation_status(headers, data): - url = f"{base_url}/api/app/azDevops/status/documentation" + url = f"{base_url}/api/app/azDevops/status/diff/doc" count = 0 while count < 360: response = requests.post(url, headers=headers, json=data, timeout=600)