fosrl.pangolin/server/routers/site/createSite.ts

20 lines
472 B
TypeScript
Raw Normal View History

import { Request, Response, NextFunction } from "express";
2024-10-01 21:34:07 -04:00
import response from "@server/utils/response";
import HttpCode from "@server/types/HttpCode";
2024-10-01 21:34:07 -04:00
2024-10-01 21:53:49 -04:00
// define zod type here
2024-10-01 21:34:07 -04:00
export async function createSite(
req: Request,
res: Response,
next: NextFunction,
): Promise<any> {
return response<null>(res, {
data: null,
success: true,
error: false,
message: "Logged in successfully",
status: HttpCode.OK,
});
2024-10-01 21:34:07 -04:00
}