Updaet HashtagUnfollowPipeline, fix typo

This commit is contained in:
Daniel Supernault 2023-11-15 22:37:21 -07:00
parent 19233cc976
commit 3e96fa8a56
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -68,9 +68,9 @@ class HashtagUnfollowPipeline implements ShouldQueue
continue; continue;
} }
$tags = collect($status['tags'])->filter(function($tag) { $tags = collect($status['tags'])->map(function($tag) {
return $tag['name']; return $tag['name'];
})->toArray(); })->filter()->values()->toArray();
if(in_array($slug, $tags)) { if(in_array($slug, $tags)) {
HomeTimelineService::rem($pid, $id); HomeTimelineService::rem($pid, $id);