about summary refs log tree commit diff
path: root/app/serializers/rest/account_serializer.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-01-19 00:22:45 -0600
committermultiple creatures <dev@multiple-creature.party>2020-01-19 00:22:45 -0600
commit9447566b8ed8e532c13dd97ecd53681029fdcec0 (patch)
tree2e0787da2664a861feb3c14d4cf9fb097130aea3 /app/serializers/rest/account_serializer.rb
parentf083ab1a272e8a0b77965aa430ae293f914cde95 (diff)
add chest floof to monsterfork api & outgoing federation
Diffstat (limited to 'app/serializers/rest/account_serializer.rb')
-rw-r--r--app/serializers/rest/account_serializer.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/serializers/rest/account_serializer.rb b/app/serializers/rest/account_serializer.rb
index a8b905b16..5c1dc64dc 100644
--- a/app/serializers/rest/account_serializer.rb
+++ b/app/serializers/rest/account_serializer.rb
@@ -7,7 +7,7 @@ class REST::AccountSerializer < ActiveModel::Serializer
              :updated_at, :note, :url, :avatar, :avatar_static, :header,
              :header_static, :followers_count, :following_count, :statuses_count,
              :replies, :adult_content, :gently, :kobold, :role, :froze, :identity,
-             :limited, :signature, :trans
+             :limited, :signature, :trans, :chest
 
   has_one :moved_to_account, key: :moved, serializer: REST::AccountSerializer, if: :moved_and_not_nested?
   has_many :emojis, serializer: REST::CustomEmojiSerializer
@@ -26,6 +26,10 @@ class REST::AccountSerializer < ActiveModel::Serializer
     'rights'
   end
 
+  def chest
+    'floof'
+  end
+
   def id
     object.id.to_s
   end