diff --git a/extensions/pusher/src/Listener/PushNewPosts.php b/extensions/pusher/src/Listener/PushNewPosts.php index 0ada4d6cb..4c889f636 100644 --- a/extensions/pusher/src/Listener/PushNewPosts.php +++ b/extensions/pusher/src/Listener/PushNewPosts.php @@ -53,7 +53,7 @@ class PushNewPosts $pusher->trigger('public', 'newPost', [ 'postId' => $event->post->id, 'discussionId' => $event->post->discussion->id, - 'tagIds' => $event->post->discussion->tags()->lists('id') + 'tagIds' => $event->post->discussion->tags()->pluck('id') ]); } }