mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-01 20:09:01 +00:00
BRUH
This commit is contained in:
@@ -6,7 +6,7 @@ const router = Router();
|
||||
export default router;
|
||||
|
||||
router.get("/:id", route({}), async (req: Request, res: Response) => {
|
||||
const id = req.params.name;
|
||||
const id = req.params.id;
|
||||
|
||||
const user = await User.findOneOrFail({ where: { id } });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user