diff options
author | ThibG <thib@sitedethib.com> | 2020-12-05 22:03:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 22:03:28 +0100 |
commit | 25f725d67a6d2542cd586ab7c56baca572eb4f88 (patch) | |
tree | 4272423a87ddacaf63efc0ee6cd8df4a63e61419 /app/controllers | |
parent | 13df125b6c75923ccc21a5c57053e680cea75f38 (diff) | |
parent | 40e2de3904c553f3fe4ec30cdbe3ae0e89796291 (diff) |
Merge pull request #1470 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/api/v1/accounts/featured_tags_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts/featured_tags_controller.rb b/app/controllers/api/v1/accounts/featured_tags_controller.rb index 014d71956..dc01b577c 100644 --- a/app/controllers/api/v1/accounts/featured_tags_controller.rb +++ b/app/controllers/api/v1/accounts/featured_tags_controller.rb @@ -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 |