1
0
Fork 0
forked from fedi/mastodon

Return discoverable via REST API (fix #12507) (#12508)

This commit is contained in:
trwnh 2019-12-03 12:56:34 -06:00 committed by Eugen Rochko
parent c05ed8a625
commit 4354936a39

View file

@ -3,7 +3,7 @@
class REST::AccountSerializer < ActiveModel::Serializer class REST::AccountSerializer < ActiveModel::Serializer
include RoutingHelper include RoutingHelper
attributes :id, :username, :acct, :display_name, :locked, :bot, :created_at, attributes :id, :username, :acct, :display_name, :locked, :bot, :discoverable, :created_at,
:note, :url, :avatar, :avatar_static, :header, :header_static, :note, :url, :avatar, :avatar_static, :header, :header_static,
:followers_count, :following_count, :statuses_count, :last_status_at :followers_count, :following_count, :statuses_count, :last_status_at