Minor ActivityPub JSON fixes (#4214)

- Objects must have attributedTo instead of actor
- The current attribute belongs to CollectionPage, not Collection
This commit is contained in:
Eugen Rochko authored and GitHub committed 2017-07-16 10:28:55 +02:00
1 parent 35b868eeca
commit a6328fc1b1
7 files changed
+4 -9

No files matched your search

@@ -20,7 +20,6 @@ class ActivityPub::OutboxesController < Api::BaseController
ActivityPub::CollectionPresenter.new(
id: account_outbox_url(@account),
type: :ordered,
current: account_outbox_url(@account),
size: @account.statuses_count,
items: @statuses
)