Skip to content

Commit

Permalink
Add back requestIp middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtony98 committed Feb 3, 2023
1 parent 7560d2f commit a4926d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions backend/src/controllers/v1/membershipOrgController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a4926d8

Please sign in to comment.