forked from uup-dump/api
Use uupApiGetPacks in get.php
This commit is contained in:
parent
5777ff09b6
commit
b13403cf59
2
get.php
2
get.php
@ -77,7 +77,7 @@ function uupGetFiles(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($usePack) {
|
if($usePack) {
|
||||||
$genPack = uupGetGenPacks($build, $info['arch'], $updateId);
|
$genPack = uupApiGetPacks($updateId);
|
||||||
if(empty($genPack)) return array('error' => 'UNSUPPORTED_COMBINATION');
|
if(empty($genPack)) return array('error' => 'UNSUPPORTED_COMBINATION');
|
||||||
|
|
||||||
if(!isset($genPack[$usePack])) {
|
if(!isset($genPack[$usePack])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user