cal.pub0.org/apps/web/pages/api/nope.ts

10 lines
273 B
TypeScript
Raw Normal View History

2022-08-16 19:59:38 +00:00
import type { NextApiRequest, NextApiResponse } from "next";
type Response = {
message: string;
};
export default async function handler(req: NextApiRequest, res: NextApiResponse<Response>): Promise<void> {
return res.status(400).json({ message: "Please don't" });
}