summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-14 20:33:05 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-14 20:33:05 +1000
commit394635b0fe930b2641547f017173647d7dba6f28 (patch)
tree595e0ab99bd50b2348d42738725bae713626a007
parentdfgjldfg (diff)
downloadserver-394635b0fe930b2641547f017173647d7dba6f28.tar.xz
dfljkgkjdfg
-rw-r--r--src/activitypub/routes/channel/#channel_id/followers.ts2
-rw-r--r--src/activitypub/routes/channel/#channel_id/outbox.ts2
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 } }),