()
| 1 | import prisma from '../../../lib/prisma' |
| 2 | |
| 3 | export async function GET() { |
| 4 | const users = await prisma.user.findMany({ |
| 5 | include: { |
| 6 | posts: true, |
| 7 | }, |
| 8 | }) |
| 9 | return new Response(JSON.stringify(users), { |
| 10 | headers: { 'Content-Type': 'application/json' }, |
| 11 | }) |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected