@@ -16,7 +16,8 @@ public function index()
function football()
{
$url = 'https://v3.football.api-sports.io/teams?id=33';
- $key = env("API_FOOTBALL_KEY",'');
+
+ $key = config('services.api_football.key',$key);
$options = [
'http' => [
'method' => 'GET',