1 files changed, 1 insertions, 1 deletions
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 } });
|