aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/activitypub/outbox.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/activitypub/outbox.ts')
-rw-r--r--server/controllers/activitypub/outbox.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/activitypub/outbox.ts b/server/controllers/activitypub/outbox.ts
index 4e7a3afeb..f385c9927 100644
--- a/server/controllers/activitypub/outbox.ts
+++ b/server/controllers/activitypub/outbox.ts
@@ -45,7 +45,7 @@ async function outboxController (req: express.Request, res: express.Response) {
45 const handler = (start: number, count: number) => buildActivities(actor, start, count) 45 const handler = (start: number, count: number) => buildActivities(actor, start, count)
46 const json = await activityPubCollectionPagination(actorOutboxUrl, handler, req.query.page, req.query.size) 46 const json = await activityPubCollectionPagination(actorOutboxUrl, handler, req.query.page, req.query.size)
47 47
48 return activityPubResponse(activityPubContextify(json), res) 48 return activityPubResponse(activityPubContextify(json, 'Collection'), res)
49} 49}
50 50
51async function buildActivities (actor: MActorLight, start: number, count: number) { 51async function buildActivities (actor: MActorLight, start: number, count: number) {