diff --git a/5st-seminar/functions/api/routes/user/index.js b/5st-seminar/functions/api/routes/user/index.js index 2a3b50d..f5bdea1 100644 --- a/5st-seminar/functions/api/routes/user/index.js +++ b/5st-seminar/functions/api/routes/user/index.js @@ -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;