Skip to content

Commit

Permalink
Fix incorrect conditions for suspended accounts in Get API for accoun…
Browse files Browse the repository at this point in the history
…t featured tags (#15270)
  • Loading branch information
noellabo committed Dec 4, 2020
1 parent fbe7519 commit 44d5c6b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -17,6 +17,6 @@ def set_account
end

def set_featured_tags
@featured_tags = @account.suspended? ? @account.featured_tags : []
@featured_tags = @account.suspended? ? [] : @account.featured_tags
end
end

0 comments on commit 44d5c6b

Please sign in to comment.