Update pages/api/users/_get.ts

remove console log statement

Co-authored-by: Omar López <zomars@me.com>
pull/9078/head
Agusti Fernandez Pardo 2022-07-08 19:34:26 +02:00 committed by GitHub
parent 80e414d4f5
commit 76d0b0c1ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@ async function getHandler(req: NextApiRequest) {
if (!isAdmin) where.id = userId;
const data = await prisma.user.findMany({ where, take, skip });
const users = schemaUsersReadPublic.parse(data);
console.log(users);
return { users };
}