2 files changed, 2 insertions, 2 deletions
diff --git a/src/activitypub/routes/channel/#channel_id/followers.ts b/src/activitypub/routes/channel/#channel_id/followers.ts
index 04b87eac..9cd141d6 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 0e4cd5ea..287c6660 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 } }),
|