diff --git a/src/server/api/routers/room.ts b/src/server/api/routers/room.ts index 3868b2a..f433a3a 100644 --- a/src/server/api/routers/room.ts +++ b/src/server/api/routers/room.ts @@ -56,16 +56,7 @@ export const roomRouter = createTRPCRouter({ const roomFromDb = await ctx.db.query.rooms.findFirst({ where: eq(rooms.id, input.id), with: { - logs: { - with: { - room: true, - }, - }, - votes: { - with: { - room: true, - }, - }, + logs: true, }, }); return roomFromDb || null;