mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +01:00
:/
This commit is contained in:
parent
389449d9a6
commit
0e4bfcafd2
@ -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 } });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user