summary refs log tree commit diff
diff options
context:
space:
mode:
-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 9cd141d6..ac474160 100644 --- a/src/activitypub/routes/channel/#channel_id/followers.ts +++ b/src/activitypub/routes/channel/#channel_id/followers.ts
@@ -14,7 +14,7 @@ router.get("/", route({}), async (req, res) => { const ret = await makeOrderedCollection( req, - `https://${webDomain}/fed/channels/${channel_id}/followers`, + `https://${webDomain}/fed/channel/${channel_id}/followers`, () => Member.count({ where: { guild: { channels: { id: channel_id } } }, diff --git a/src/activitypub/routes/channel/#channel_id/outbox.ts b/src/activitypub/routes/channel/#channel_id/outbox.ts
index 287c6660..e2e0e585 100644 --- a/src/activitypub/routes/channel/#channel_id/outbox.ts +++ b/src/activitypub/routes/channel/#channel_id/outbox.ts
@@ -17,7 +17,7 @@ router.get("/", route({}), async (req, res) => { const ret = await makeOrderedCollection( req, - `https://${webDomain}/fed/channels/${channel_id}/outbox`, + `https://${webDomain}/fed/channel/${channel_id}/outbox`, () => Message.count({ where: { channel_id } }), async (before, after) => { const query: FindManyOptions<Message> & {