Fix issue fetching new accts

master
Holly "Frinkeldoodle" Lotor 2020-01-17 16:45:54 +00:00
parent d2acdf2ea6
commit b93a9a126b
1 changed files with 2 additions and 1 deletions

View File

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