From b93a9a126bc39f2996129e90e4e376cb8bf6dfb5 Mon Sep 17 00:00:00 2001 From: "Holly \"Frinkeldoodle\" Lotor" Date: Fri, 17 Jan 2020 16:45:54 +0000 Subject: Fix issue fetching new accts --- app/controllers/accounts_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/controllers') 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 -- cgit