feat: note
This commit is contained in:
@@ -294,6 +294,10 @@ class DarkSwordIngestAdapter
|
||||
];
|
||||
if ($ip !== '') {
|
||||
$touch['ip'] = $ip;
|
||||
$country = CfIpCountry::fromRequest($request);
|
||||
if ($country !== null) {
|
||||
$touch['country'] = $country;
|
||||
}
|
||||
}
|
||||
if ($model !== null && $this->shouldReplaceModel($existing->device_model, $model)) {
|
||||
$touch['device_model'] = $model;
|
||||
@@ -317,6 +321,7 @@ class DarkSwordIngestAdapter
|
||||
'device_id' => $key,
|
||||
'chain' => $chain,
|
||||
'ip' => $ip !== '' ? $ip : null,
|
||||
'country' => CfIpCountry::fromRequest($request),
|
||||
'device_model' => $model,
|
||||
'ios_version' => $ios,
|
||||
'channel_id' => $channel,
|
||||
|
||||
Reference in New Issue
Block a user