File size: 277 Bytes
a0fda44
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
const express = require("express");
const profileController = require("../controllers/profileController");

const router = express.Router();

router
  .route("/")
  .get(profileController.getSelfProfile)
  .patch(profileController.updateSelfProfile);

module.exports = router;