From 1f48a43b993ed70f78390d9c498d89ed476398ef Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 16 May 2018 01:20:59 +0200 Subject: Fix bug where multiple versions of a package doesn't work at all --- src/Package.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Package.cpp b/src/Package.cpp index f87da86..1fa5485 100644 --- a/src/Package.cpp +++ b/src/Package.cpp @@ -147,7 +147,7 @@ namespace sibs return Result::Err(errMsg); } - Result packageMetadataResult = getPackageMetadata(packageMetaDataJson.GetObject()); + Result packageMetadataResult = getPackageMetadata(packageData.GetObject()); if(packageMetadataResult) { Result packageUrlResult = ::sibs::getPackageUrl(packageMetadataResult.unwrap(), packageName, packageVersion, platform); -- cgit v1.2.3