X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Factivitypub%2Foutbox.ts;h=f385c9927ee5967683a01d289c590f5cf3be5dab;hb=38a3ccc7f8ad0ea94362b58c732af7c387ab46be;hp=4e7a3afeb746e4984ad8a81b11ca7845eaec13ec;hpb=7e98a7df7d04e19ba67163a86c7b876d78d76839;p=github%2FChocobozzz%2FPeerTube.git 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) { const handler = (start: number, count: number) => buildActivities(actor, start, count) const json = await activityPubCollectionPagination(actorOutboxUrl, handler, req.query.page, req.query.size) - return activityPubResponse(activityPubContextify(json), res) + return activityPubResponse(activityPubContextify(json, 'Collection'), res) } async function buildActivities (actor: MActorLight, start: number, count: number) {