From 0e4bfcafd2eb3f56d3ae8ef7ab0758b6a3a0f275 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:52:31 +1000 Subject: :/ --- src/activitypub/routes/channel/#channel_id/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/activitypub/routes/channel/#channel_id/index.ts b/src/activitypub/routes/channel/#channel_id/index.ts index bb76258e..fd83563e 100644 --- a/src/activitypub/routes/channel/#channel_id/index.ts +++ b/src/activitypub/routes/channel/#channel_id/index.ts @@ -6,7 +6,7 @@ const router = Router(); export default router; router.get("/", route({}), async (req: Request, res: Response) => { - const id = req.params.id; + const id = req.params.channel_id; const channel = await Channel.findOneOrFail({ where: { id } }); -- cgit 1.5.1