mirror of
https://github.com/detleph/server.git
synced 2026-09-04 00:26:03 +02:00
removed debug logger
This commit is contained in:
@@ -49,8 +49,6 @@ export const getTeams = async (req: Request<{}, {}, {}, { showHidden?: string }>
|
|||||||
|
|
||||||
const show: boolean = req.query.showHidden === "true";
|
const show: boolean = req.query.showHidden === "true";
|
||||||
|
|
||||||
logger.info(typeof show);
|
|
||||||
|
|
||||||
const teams = await prisma.team.findMany({
|
const teams = await prisma.team.findMany({
|
||||||
where: { verified: { equals: show ? undefined : true } },
|
where: { verified: { equals: show ? undefined : true } },
|
||||||
select: basicTeam,
|
select: basicTeam,
|
||||||
|
|||||||
Reference in New Issue
Block a user