diff --git a/app/services/onboarding_account_recommendations_service.rb b/app/services/onboarding_account_recommendations_service.rb index 631d89468..a867ef04a 100644 --- a/app/services/onboarding_account_recommendations_service.rb +++ b/app/services/onboarding_account_recommendations_service.rb @@ -14,8 +14,8 @@ def generate_onboarding_account_recommendations Onboarding::V2::FollowRecommendationCategory.new( name: category['name'], # If any of YML accounts are invalid or not found in the database, we'll omit them from the response - # Skip hashtags items: category['items'].filter_map do |item| + # Skip hashtags if item['type'] == 'hashtag' next elsif item['type'] == 'account'