mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-24 12:44:59 +02:00
Fix return response and add list
This commit is contained in:
parent
e85c94d21d
commit
ecdf2dfd04
22 changed files with 354 additions and 17 deletions
|
@ -31,7 +31,7 @@ export async function createOrg(req: Request, res: Response, next: NextFunction)
|
|||
}).returning();
|
||||
|
||||
return res.status(HttpCode.CREATED).send(
|
||||
response({
|
||||
response(res, {
|
||||
data: newOrg[0],
|
||||
success: true,
|
||||
error: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue