From 394635b0fe930b2641547f017173647d7dba6f28 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:33:05 +1000 Subject: dfljkgkjdfg --- src/activitypub/routes/channel/#channel_id/followers.ts | 2 +- src/activitypub/routes/channel/#channel_id/outbox.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 } }), -- cgit 1.5.1