Fix broken minor support
This commit is contained in:
parent
ca81835609
commit
d58f53de42
@ -77,6 +77,7 @@ function uupApiPrivateNormalizeFetchParams($params) {
|
|||||||
'flight' => 'Active',
|
'flight' => 'Active',
|
||||||
'branch' => 'ge_release',
|
'branch' => 'ge_release',
|
||||||
'build' => 'latest',
|
'build' => 'latest',
|
||||||
|
'minor' => 0,
|
||||||
'sku' => 48,
|
'sku' => 48,
|
||||||
'type' => 'Production',
|
'type' => 'Production',
|
||||||
'flags' => [],
|
'flags' => [],
|
||||||
@ -89,6 +90,7 @@ function uupApiPrivateNormalizeFetchParams($params) {
|
|||||||
$np['flight'] = ucwords(strtolower($np['flight']));
|
$np['flight'] = ucwords(strtolower($np['flight']));
|
||||||
$np['branch'] = strtolower($np['branch']);
|
$np['branch'] = strtolower($np['branch']);
|
||||||
$np['build'] = strtolower($np['build']);
|
$np['build'] = strtolower($np['build']);
|
||||||
|
$np['minor'] = intval($np['minor']);
|
||||||
$np['sku'] = intval($np['sku']);
|
$np['sku'] = intval($np['sku']);
|
||||||
$np['type'] = ucwords(strtolower($np['type']));
|
$np['type'] = ucwords(strtolower($np['type']));
|
||||||
$np['flags'] = array_map('strtolower', $np['flags']);
|
$np['flags'] = array_map('strtolower', $np['flags']);
|
||||||
@ -113,6 +115,7 @@ function uupFetchUpd(
|
|||||||
'ring' => $ring,
|
'ring' => $ring,
|
||||||
'flight' => $flight,
|
'flight' => $flight,
|
||||||
'build' => $build,
|
'build' => $build,
|
||||||
|
'minor' => $minor,
|
||||||
'sku' => $sku,
|
'sku' => $sku,
|
||||||
'type' => $type,
|
'type' => $type,
|
||||||
'flags' => $flags,
|
'flags' => $flags,
|
||||||
@ -131,6 +134,7 @@ function uupFetchUpd2($params, $cacheRequests = 0) {
|
|||||||
$flight = 'Active';
|
$flight = 'Active';
|
||||||
$branch = $np['branch'];
|
$branch = $np['branch'];
|
||||||
$build = $np['build'];
|
$build = $np['build'];
|
||||||
|
$minor = $np['minor'];
|
||||||
$sku = $np['sku'];
|
$sku = $np['sku'];
|
||||||
$type = $np['type'];
|
$type = $np['type'];
|
||||||
$flags = $np['flags'];
|
$flags = $np['flags'];
|
||||||
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function uupApiVersion() {
|
function uupApiVersion() {
|
||||||
return '1.44.0';
|
return '1.44.1';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/auths.php';
|
require_once dirname(__FILE__).'/auths.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user