Fix bug in request url.

pull/1120/head
mehmetuken 7 years ago
parent 935afc9c96
commit 30cf4ee363

@ -31,7 +31,7 @@ namespace Volo.Abp.Cli.NuGet
client.Timeout = TimeSpan.FromSeconds(30);
var responseMessage = await client.GetAsync(
$"https://api.nuget.org/v3-flatcontainer/${packageId.ToLowerInvariant()}/index.json",
$"https://api.nuget.org/v3-flatcontainer/{packageId.ToLowerInvariant()}/index.json",
CancellationTokenProvider.Token);
if (!responseMessage.IsSuccessStatusCode)
{

Loading…
Cancel
Save