diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-16 01:20:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-16 01:21:04 +0200 |
commit | 1f48a43b993ed70f78390d9c498d89ed476398ef (patch) | |
tree | e59721ec4f6349b401973e47a6f81d92ae3ad46d /src | |
parent | b20c36fbbef4657d1bb110a4162d470ee23846aa (diff) |
Fix bug where multiple versions of a package doesn't work at all
Diffstat (limited to 'src')
-rw-r--r-- | src/Package.cpp | 2 |
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); |