|
@@ -83,7 +83,7 @@ public static function syncLeagues($params = [])
|
|
|
{
|
|
{
|
|
|
$result = app('api-football')->leagues($params);
|
|
$result = app('api-football')->leagues($params);
|
|
|
|
|
|
|
|
- $result = json_decode(file_get_contents(storage_path('logs/leagues.log')), true);
|
|
|
|
|
|
|
+ // $result = json_decode(file_get_contents(storage_path('logs/leagues.log')), true);
|
|
|
$response = $result['response'] ?? [];
|
|
$response = $result['response'] ?? [];
|
|
|
|
|
|
|
|
if (empty($response)) {
|
|
if (empty($response)) {
|