From 51f858a276175c12adfb2bc67c7b42d124e986a1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 6 Mar 2024 21:34:49 +0100 Subject: [PATCH] lol seriously --- app/Http/Controllers/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 1f4600af9..23cdf89bc 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -41,7 +41,7 @@ public function index() if ($response === false) { return view('user.index', compact('users'))->withErrors('Error fetching users from VATSIM Core API. Check if your token is correct.'); } - } else if (config('vatsim.api_token')) { + } elseif (config('vatsim.api_token')) { $response = $this->fetchUsersFromVatsimApi(); if ($response === false) { return view('user.index', compact('users'))->withErrors('Error fetching users from VATSIM API. Check if your token is correct.');