GROS FIX + avatar

This commit is contained in:
gprunet
2026-01-21 16:11:28 +01:00
parent 825e53b554
commit 5bdf7f0442
8 changed files with 220 additions and 13 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ router.post('/', authenticateToken, async(req, res) =>
const {name} = req.body;
if (!name)
return (res.status(400).json({error: 'Room name required'}));
const room = await gameRoomService.createRoom(name);
const room = await gameRoomService.createRoom(name, req.user.userId);
res.status(201).json(room);
}
catch(err)