mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-05-16 17:21:54 +00:00
Edit schema
Took 2 hours 51 minutes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {NextApiRequest, NextApiResponse} from 'next';
|
||||
import { PrismaClient } from '@prisma/client'
|
||||
|
||||
export const prisma = new PrismaClient();
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
export default async function readUser(req: NextApiRequest, res: NextApiResponse) {
|
||||
const users = await prisma.user.findMany()
|
||||
|
||||
Reference in New Issue
Block a user