diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/accounts_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 41ee1f5ee..245263607 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -41,7 +41,8 @@ class AccountsController < ApplicationController format.json do # TODO: Remember to add authorized_fetch_mode, restrict_fields_to when ported - expires_in 3.minutes, public: !(signed_request_account.present?) +# expires_in 3.minutes, public: !(signed_request_account.present?) + expires_in 3.minutes, public: true render_with_cache json: @account, content_type: 'application/activity+json', serializer: ActivityPub::ActorSerializer, adapter: ActivityPub::Adapter end end |