SHARE
TWEET

Untitled

a guest Aug 18th, 2019 90 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top