const router = require('express').Router();
import profile from './profile';

export default () => {
  router.use('/profile', profile());
  return router;
};

@@ -75,30 +75,275 @@
 ';%0A%0A
-export default () =%3E %7B
+import %7BaccessLogMiddleware, getContextMiddleware, requireAuthorized%7D from '../../app.middlewares';%0A%0A%0A/**%0A * Router for all community/profile endpoints.%0A *%0A * @returns %7B*%7D%0A */%0Aexport default () =%3E %7B%0A  router.use(getContextMiddleware);%0A  router.use(requireAuthorized);
 %0A  r

Add context