Skip to content

Commit

Permalink
lol seriously
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Mar 6, 2024
1 parent b3ba08a commit 51f858a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit 51f858a

Please sign in to comment.