Guest User

Untitled

a guest
Aug 18th, 2019
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import * as userController from "../controllers/user";
  2.  
  3.  
  4. export default [
  5. {
  6. path: "/api/v1/users/:userId",
  7. method: "get",
  8. handler: userController.getUser
  9. },
  10. {
  11. path: "/api/v1/users/:userId/avatar",
  12. method: "get",
  13. handler: userController.getUserAvatar
  14. }
  15. ];
RAW Paste Data