aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-16 01:20:59 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-16 01:21:04 +0200
commit1f48a43b993ed70f78390d9c498d89ed476398ef (patch)
treee59721ec4f6349b401973e47a6f81d92ae3ad46d
parentb20c36fbbef4657d1bb110a4162d470ee23846aa (diff)
Fix bug where multiple versions of a package doesn't work at all
-rw-r--r--src/Package.cpp2
1 files changed, 1 insertions, 1 deletions
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<string>::Err(errMsg);
}
- Result<PackageMetadata> packageMetadataResult = getPackageMetadata(packageMetaDataJson.GetObject());
+ Result<PackageMetadata> packageMetadataResult = getPackageMetadata(packageData.GetObject());
if(packageMetadataResult)
{
Result<string> packageUrlResult = ::sibs::getPackageUrl(packageMetadataResult.unwrap(), packageName, packageVersion, platform);