1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #5240 from pixelfed/staging

Update user model
This commit is contained in:
daniel 2024-07-27 00:33:25 -06:00 committed by GitHub
commit 0925fffc86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}