From e96f7ac08a5b0625664c0c1e086c38d557756f7c Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Tue, 3 Feb 2026 17:17:07 -0600 Subject: [PATCH] fix stupid express thing --- src/api/routes/channels/#channel_id/threads.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/routes/channels/#channel_id/threads.ts b/src/api/routes/channels/#channel_id/threads.ts index 430716b51..6c25862c9 100644 --- a/src/api/routes/channels/#channel_id/threads.ts +++ b/src/api/routes/channels/#channel_id/threads.ts @@ -49,7 +49,7 @@ router.post( }), async (req: Request, res: Response) => { // TODO: check for differences with https://github.com/spacebarchat/server/pull/876/files#diff-95be9c4cdfd8ba6f67361cd40b9abc8226b35d83e2bb44bf5b4682f1d66155e9 - const { channel_id } = req.params; + const { channel_id } = req.params as { channel_id: string }; const body = req.body as ThreadCreationSchema; const channel = await Channel.findOneOrFail({