diff --git a/src/activitypub/routes/channel/#channel_id/followers.ts b/src/activitypub/routes/channel/#channel_id/followers.ts index 04b87eace..9cd141d6a 100644 --- a/src/activitypub/routes/channel/#channel_id/followers.ts +++ b/src/activitypub/routes/channel/#channel_id/followers.ts @@ -12,7 +12,7 @@ router.get("/", route({}), async (req, res) => { const { webDomain } = Config.get().federation; - const ret = makeOrderedCollection( + const ret = await makeOrderedCollection( req, `https://${webDomain}/fed/channels/${channel_id}/followers`, () => diff --git a/src/activitypub/routes/channel/#channel_id/outbox.ts b/src/activitypub/routes/channel/#channel_id/outbox.ts index 0e4cd5ea1..287c66606 100644 --- a/src/activitypub/routes/channel/#channel_id/outbox.ts +++ b/src/activitypub/routes/channel/#channel_id/outbox.ts @@ -15,7 +15,7 @@ router.get("/", route({}), async (req, res) => { const { webDomain } = Config.get().federation; - const ret = makeOrderedCollection( + const ret = await makeOrderedCollection( req, `https://${webDomain}/fed/channels/${channel_id}/outbox`, () => Message.count({ where: { channel_id } }),