diff options
author | Starfall <us@starfall.systems> | 2020-12-07 09:35:37 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-12-07 09:35:37 -0600 |
commit | 0f6d41052652c4fee87a19900795c8588d9a2174 (patch) | |
tree | a9440e6aa871459b4892eddcf5a72ae8d53990ba /app/controllers/api | |
parent | d085d49922b2ae32201caf5751344f5d88ccae4b (diff) | |
parent | 25f725d67a6d2542cd586ab7c56baca572eb4f88 (diff) |
Merge branch 'glitch' into main
Diffstat (limited to 'app/controllers/api')
-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 |