1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 02:12:40 +01:00
This commit is contained in:
Madeline 2023-08-14 20:52:31 +10:00
parent 389449d9a6
commit 0e4bfcafd2
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -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 } });