13 lines
257 B
TypeScript
13 lines
257 B
TypeScript
import type { NextApiRequest, NextApiResponse } from "next";
|
|
|
|
type Data = {
|
|
msg: string;
|
|
};
|
|
|
|
export default function handler(
|
|
req: NextApiRequest,
|
|
res: NextApiResponse<Data>
|
|
) {
|
|
res.status(200).json({ msg: "Authentication Successful!" });
|
|
}
|