diff --git a/src/pages/api/healthcheck.ts b/src/pages/api/healthcheck.ts index 75a631adc..eccbc5ea0 100644 --- a/src/pages/api/healthcheck.ts +++ b/src/pages/api/healthcheck.ts @@ -1,13 +1,5 @@ -import { handlerWrapper } from '@/server/common' -import { z } from 'zod' +import { NextApiRequest, NextApiResponse } from 'next' -export default handlerWrapper({ - inputSchema: z.any(), - dataGetter: (req) => req.query, -})({ - errorLabel: 'healthcheck', - allowedMethods: ['GET'], - handler: async (_, __, res) => { - res.json({ message: 'OK', success: true }) - }, -}) +export default function handler(_: NextApiRequest, res: NextApiResponse) { + res.json({ operational: true }) +}