Fix incorrect conditions for suspended accounts in Get API for account featured tags (#15270)
This commit is contained in:
		@@ -17,6 +17,6 @@ class Api::V1::Accounts::FeaturedTagsController < Api::BaseController
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def set_featured_tags
 | 
			
		||||
    @featured_tags = @account.suspended? ? @account.featured_tags : []
 | 
			
		||||
    @featured_tags = @account.suspended? ? [] : @account.featured_tags
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user