mirror of
https://github.com/documenso/documenso.git
synced 2025-11-26 14:34:05 +10:00
naming
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
import type { NextApiRequest, NextApiResponse } from "next";
|
import type { NextApiRequest, NextApiResponse } from "next";
|
||||||
|
|
||||||
type Data = {
|
type Data = {
|
||||||
name: string;
|
status: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function handler(
|
export default function handler(
|
||||||
req: NextApiRequest,
|
req: NextApiRequest,
|
||||||
res: NextApiResponse<Data>
|
res: NextApiResponse<Data>
|
||||||
) {
|
) {
|
||||||
res.status(200).json({ name: "Api up and running :)" });
|
res.status(200).json({ status: "Api up and running :)" });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user