mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
commit
0925fffc86
1 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,6 @@ class User extends Authenticatable
|
||||||
'email_verified_at' => 'datetime',
|
'email_verified_at' => 'datetime',
|
||||||
'2fa_setup_at' => 'datetime',
|
'2fa_setup_at' => 'datetime',
|
||||||
'last_active_at' => 'datetime',
|
'last_active_at' => 'datetime',
|
||||||
'expo_token' => ExpoPushToken::class,
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,7 +126,7 @@ class User extends Authenticatable
|
||||||
return AvatarService::get($this->profile_id);
|
return AvatarService::get($this->profile_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function routeNotificationForExpo(): ?ExpoPushToken
|
public function routeNotificationForExpo()
|
||||||
{
|
{
|
||||||
return $this->expo_token;
|
return $this->expo_token;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue