about summary refs log tree commit diff
path: root/app/controllers/api/v1/accounts
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-12-07 09:35:37 -0600
committerStarfall <us@starfall.systems>2020-12-07 09:35:37 -0600
commit0f6d41052652c4fee87a19900795c8588d9a2174 (patch)
treea9440e6aa871459b4892eddcf5a72ae8d53990ba /app/controllers/api/v1/accounts
parentd085d49922b2ae32201caf5751344f5d88ccae4b (diff)
parent25f725d67a6d2542cd586ab7c56baca572eb4f88 (diff)
Merge branch 'glitch' into main
Diffstat (limited to 'app/controllers/api/v1/accounts')
-rw-r--r--app/controllers/api/v1/accounts/featured_tags_controller.rb2
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