MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / handler

Function handler

app/src/pages/api/healthcheck.ts:5–9  ·  view source on GitHub ↗
(_req: NextApiRequest, res: NextApiResponse)

Source from the content-addressed store, hash-verified

3import { prisma } from "~/server/db";
4
5export default async function handler(_req: NextApiRequest, res: NextApiResponse) {
6 await prisma.project.findFirst();
7
8 res.status(200).json({ status: "OK" });
9}

Callers

nothing calls this directly

Calls 1

jsonMethod · 0.45

Tested by

no test coverage detected