Use uupApiGetPacks in get.php

This commit is contained in:
orin committed 2023-10-29 00:07:48 +02:00
1 parent 5777ff09b6
commit b13403cf59
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ function uupGetFiles(
}
if($usePack) {
$genPack = uupGetGenPacks($build, $info['arch'], $updateId);
$genPack = uupApiGetPacks($updateId);
if(empty($genPack)) return array('error' => 'UNSUPPORTED_COMBINATION');
if(!isset($genPack[$usePack])) {