mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-27 05:15:30 +00:00
:/
This commit is contained in:
@@ -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 } });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user