Fix return response and add list

This commit is contained in:
Owen Schwartz
2024-10-02 21:17:38 -04:00
parent e85c94d21d
commit ecdf2dfd04
22 changed files with 354 additions and 17 deletions

View File

@@ -58,7 +58,7 @@ export async function updateOrg(req: Request, res: Response, next: NextFunction)
}
return res.status(HttpCode.OK).send(
response({
response(res, {
data: updatedOrg[0],
success: true,
error: false,