Browse Source

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

master
trwnh 4 years ago
committed by Eugen Rochko
parent
commit
4354936a39
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/serializers/rest/account_serializer.rb

+ 1
- 1
app/serializers/rest/account_serializer.rb View File

@ -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

Loading…
Cancel
Save