From fde27e8e0bd432cab2ff8de17f3716037cafbaf6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 15 Apr 2023 08:28:03 +1000 Subject: [PATCH] Minor fixes for client routes --- routes/client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/client.php b/routes/client.php index 0af6e33829f0..80f9b60549a2 100644 --- a/routes/client.php +++ b/routes/client.php @@ -142,7 +142,7 @@ Route::get('phantom/{entity}/{invitation_key}', [Phantom::class, 'displayInvitat Route::fallback(function () { - if (Ninja::isSelfHost() && Account::first()->set_react_as_default_ap) { + if (Ninja::isSelfHost() && Account::first()?->set_react_as_default_ap) { $account = Account::first();