mirror of
https://github.com/detleph/server.git
synced 2026-09-08 16:06:19 +02:00
fixed bugs
This commit is contained in:
@@ -66,7 +66,7 @@ export const getTeam = async (req: Request<{ pid: string }>, res: Response) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const team = await prisma.team.findUnique({
|
const team = await prisma.team.findUnique({
|
||||||
where: { pid, verified },
|
where: {pid: pid},
|
||||||
select: detailedTeam,
|
select: detailedTeam,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user