mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
19 lines
517 B
TypeScript
19 lines
517 B
TypeScript
import { Request, Response, NextFunction } from 'express';
|
|
import response from "@server/utils/response";
|
|
import HttpCode from '@server/types/HttpCode';
|
|
|
|
interface DeleteSiteRequest {
|
|
siteId: string;
|
|
}
|
|
|
|
export async function deleteSite(req: Request, res: Response, next: NextFunction) {
|
|
return res.status(HttpCode.OK).send(
|
|
response<null>({
|
|
data: null,
|
|
success: true,
|
|
error: false,
|
|
message: "Logged in successfully",
|
|
status: HttpCode.OK,
|
|
}),
|
|
);
|
|
}
|