Skip to content

Commit

Permalink
Fix incorrect request url when installing from ADO. (#1597)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonyoni authored and alerickson committed May 10, 2024
1 parent e84060d commit a86e69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code/V2ServerAPICalls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ private Stream InstallVersion(string packageName, string version, out ErrorRecor
// eg: https://pkgs.dev.azure.com/<org>/<project>/_packaging/<feed>/nuget/v2?id=test_module&version=5.0.0
requestUrlV2 = $"{Repository.Uri}?id={packageName}&version={version}";
}
if (_isJFrogRepo)
else if (_isJFrogRepo)
{
// eg: https://<project>.jfrog.io/artifactory/api/nuget/<feed>/Download/test_module/5.0.0
requestUrlV2 = $"{Repository.Uri}/Download/{packageName}/{version}";
Expand Down

0 comments on commit a86e69c

Please sign in to comment.