From 8b4ea6ff48457a3bc4bfd76b896948606a333b71 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 27 Jul 2024 00:32:22 -0600 Subject: [PATCH] Update user model --- app/User.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/User.php b/app/User.php index 022448109..30b502308 100644 --- a/app/User.php +++ b/app/User.php @@ -28,7 +28,6 @@ class User extends Authenticatable 'email_verified_at' => 'datetime', '2fa_setup_at' => 'datetime', 'last_active_at' => 'datetime', - 'expo_token' => ExpoPushToken::class, ]; } @@ -127,7 +126,7 @@ class User extends Authenticatable return AvatarService::get($this->profile_id); } - public function routeNotificationForExpo(): ?ExpoPushToken + public function routeNotificationForExpo() { return $this->expo_token; }