about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorHolly "Frinkeldoodle" Lotor <admin@frinkel.tech>2020-01-17 16:45:54 +0000
committerHolly "Frinkeldoodle" Lotor <admin@frinkel.tech>2020-01-17 16:46:10 +0000
commitb93a9a126bc39f2996129e90e4e376cb8bf6dfb5 (patch)
treee49b25864fa9362784581d2ae8be7ae40ff7648e /app/controllers
parentd2acdf2ea68dce252e827041d226d4402369669b (diff)
Fix issue fetching new accts
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/accounts_controller.rb3
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