mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
19 lines
472 B
TypeScript
19 lines
472 B
TypeScript
import { Request, Response, NextFunction } from "express";
|
|
import response from "@server/utils/response";
|
|
import HttpCode from "@server/types/HttpCode";
|
|
|
|
// define zod type here
|
|
|
|
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,
|
|
});
|
|
}
|