fixed bugs

This commit is contained in:
La_Felx
2023-01-03 22:34:30 +01:00
parent 07c8cc239e
commit a1a0bca5a1
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export const getTeam = async (req: Request<{ pid: string }>, res: Response) => {
}
const team = await prisma.team.findUnique({
where: { pid, verified },
where: {pid: pid},
select: detailedTeam,
});