Support for PC & accounts that have no kills

parent 8b9820df
Pipeline #1336 passed with stages
in 2 minutes and 42 seconds
......@@ -217,7 +217,7 @@ class Client extends Http
$activeType = null;
foreach ($data as $item) {
foreach ($types as $type) {
if ($item['name'] === 'br_kills_'.$type.'_m0_p2') {
if ($item['name'] === 'br_lastmodified_'.$type.'_m0_p2' || $item['name'] === 'br_lastmodified_'.$type.'_m0_p9') {
return $type;
}
}
......
......@@ -30,7 +30,7 @@ class AddFortniteRequest extends Request
return [
'gamertag' => 'required|min:3|fortnite-real',
'platform' => 'required|in:0,1,2',
'platform' => 'required|in:0,1,2,3',
];
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment