Add back requestIp middleware

This commit is contained in:
Tuan Dang
2023-02-03 12:32:54 +07:00
parent 7560d2f673
commit a4926d8833
2 changed files with 1 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ app.use(
})
);
// app.use(requestIp.mw())
app.use(requestIp.mw())
if (NODE_ENV === 'production') {
// enable app-wide rate-limiting + helmet security

View File

@@ -77,8 +77,6 @@ export const changeMembershipOrgRole = async (req: Request, res: Response) => {
// change role for (target) organization membership with id
// [membershipOrgId]
// TODO
let membershipToChangeRole;
// try {
// } catch (err) {