forked from uup-dump/api
Add fallback parameters
This commit is contained in:
parent
7bdc01bdb9
commit
2a57ae0fe6
@ -311,11 +311,11 @@ function composeFileGetRequest($updateId, $info, $rev = 1, $type = 'Production')
|
|||||||
//$branch = branchFromBuild($info['checkBuild']);
|
//$branch = branchFromBuild($info['checkBuild']);
|
||||||
|
|
||||||
$deviceAttributes = composeDeviceAttributes(
|
$deviceAttributes = composeDeviceAttributes(
|
||||||
$info['flight'],
|
isset($info['flight']) ? $info['flight'] : 'Active',
|
||||||
$info['ring'],
|
isset($info['ring']) ? $info['ring'] : 'RETAIL',
|
||||||
$info['checkBuild'],
|
isset($info['checkBuild']) ? $info['checkBuild'] : '10.0.19041.1',
|
||||||
$info['arch'],
|
isset($info['arch']) ? $info['arch'] : 'amd64',
|
||||||
$info['sku'],
|
isset($info['sku']) ? $info['sku'] : 48,
|
||||||
$type
|
$type
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user