Skip to content

Commit

Permalink
✅ [CHORE]: 라우터 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eunji8784 committed Dec 24, 2021
1 parent 69d27b0 commit 72981fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions 5st-seminar/functions/api/routes/user/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
const express = require('express');
const { checkUser } = require('../../../middlewares/auth');
const router = express.Router();

router.get('/list', require('./userListGET'));

router.get('/:userId', require('./userGET'));
router.put('/:userId', checkUser, require('./userPUT'));
router.put('/:userId', require('./userPUT'));
router.delete('/:userId', require('./userDELETE'));

module.exports = router;

0 comments on commit 72981fe

Please sign in to comment.