Use uupApiGetPacks in get.php

This commit is contained in:
Kaenbyou Rin 2023-10-29 00:07:48 +02:00
parent 5777ff09b6
commit b13403cf59

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])) {