2024-10-02 20:42:50 -04:00
|
|
|
import { Request, Response, NextFunction } from "express";
|
2024-10-01 21:34:07 -04:00
|
|
|
import response from "@server/utils/response";
|
2024-10-02 20:42:50 -04:00
|
|
|
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
|
|
|
|
2024-10-02 20:42:50 -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
|
|
|
}
|