From f48e34bfa6809b15cf85399875f312a0de3354cb Mon Sep 17 00:00:00 2001 From: Wo-ogie <siwall0105@gmail.com> Date: Sun, 10 Dec 2023 22:24:07 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=AF=B8=ED=8C=85=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20API=20=EC=9D=B8=EC=A6=9D=20=EA=B6=8C=ED=95=9C=20?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20=EB=A1=9C=EC=A7=81=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/meeting.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/routes/meeting.js b/routes/meeting.js index 85952a9..d309d5e 100644 --- a/routes/meeting.js +++ b/routes/meeting.js @@ -1,5 +1,4 @@ const express = require('express'); -const { isAuthenticated } = require('../middlewares/auth'); const { createMeeting, entry, @@ -18,12 +17,12 @@ router.get('/top-three-confirmed-times', getTopThreeConfirmedTimes); router.post('/:meetingId/entry', entry); -router.get('/:meetingId', isAuthenticated, getMeetingById); +router.get('/:meetingId', getMeetingById); -router.get('/:meetingId/details', isAuthenticated, getMeetingDetailById); +router.get('/:meetingId/details', getMeetingDetailById); -router.patch('/:meetingId/close', isAuthenticated, closeMeeting); +router.patch('/:meetingId/close', closeMeeting); -router.patch('/:meetingId/confirm-time', isAuthenticated, confirmTime); +router.patch('/:meetingId/confirm-time', confirmTime); module.exports = router; -- GitLab