Skip to content

Commit

Permalink
Update AzureDevOpsEndpoint.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
shehbaz-pathan authored Sep 23, 2024
1 parent 822ef81 commit fce2ed3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public HttpClient GetHttpClient(string route)
{
baseUrl.Path += "/";
}
return CreateHttpClientWithHeaders(baseUrl.Uri.AbsoluteUri.ToString(), "api-version=6.0");
return CreateHttpClientWithHeaders(baseUrl.Uri.AbsoluteUri.ToString(), "api-version=5.0");
}

/// <summary>
Expand Down Expand Up @@ -649,4 +649,4 @@ public static void AddToPath(this HttpClient client, string pathToAdd)
client.BaseAddress = new Uri($"https://{client.BaseAddress.Host}:{client.BaseAddress.Port}{client.BaseAddress.LocalPath}{pathToAdd}{client.BaseAddress.Query}");
}
}
}
}

0 comments on commit fce2ed3

Please sign in to comment.