From: trwnh Date: Tue, 3 Dec 2019 18:56:34 +0000 (-0600) Subject: Return `discoverable` via REST API (fix #12507) (#12508) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=4354936a3983626d94a3594a36813e770e0dc87d;p=mastodon.git Return `discoverable` via REST API (fix #12507) (#12508) --- diff --git a/app/serializers/rest/account_serializer.rb b/app/serializers/rest/account_serializer.rb index 75b6cf13b..7e3041ae3 100644 --- a/app/serializers/rest/account_serializer.rb +++ b/app/serializers/rest/account_serializer.rb @@ -3,7 +3,7 @@ class REST::AccountSerializer < ActiveModel::Serializer 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, :followers_count, :following_count, :statuses_count, :last_status_at