update bugs user notification
This commit is contained in:
@@ -73,5 +73,8 @@ class User extends Authenticatable
|
||||
return $this->morphMany(NotificationToken::class, 'notifiabletoken');
|
||||
}
|
||||
|
||||
|
||||
public function routeNotificationForFcm()
|
||||
{
|
||||
return $this->notificationTokens()->pluck('token')->toArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user