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']);
|
||||
|
||||
$deviceAttributes = composeDeviceAttributes(
|
||||
$info['flight'],
|
||||
$info['ring'],
|
||||
$info['checkBuild'],
|
||||
$info['arch'],
|
||||
$info['sku'],
|
||||
isset($info['flight']) ? $info['flight'] : 'Active',
|
||||
isset($info['ring']) ? $info['ring'] : 'RETAIL',
|
||||
isset($info['checkBuild']) ? $info['checkBuild'] : '10.0.19041.1',
|
||||
isset($info['arch']) ? $info['arch'] : 'amd64',
|
||||
isset($info['sku']) ? $info['sku'] : 48,
|
||||
$type
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user