Skip to content

Commit

Permalink
fix azdevops
Browse files Browse the repository at this point in the history
  • Loading branch information
sumansaurabh committed Mar 10, 2024
1 parent ae41b3a commit afc9c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/azure_devops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit afc9c85

Please sign in to comment.