mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 15:09:39 +02:00
Add endpoints
This commit is contained in:
parent
fc5dca136f
commit
1273747099
22 changed files with 350 additions and 45 deletions
15
server/routers/global/org/deleteOrg.ts
Normal file
15
server/routers/global/org/deleteOrg.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { Request, Response, NextFunction } from 'express';
|
||||
import response from "@server/utils/response";
|
||||
import HttpCode from '@server/types/HttpCode';
|
||||
|
||||
export async function deleteOrg(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,
|
||||
}),
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue