From 44ba1e6ceba1a7f0392f125efa6a3b2ac4ab2f52 Mon Sep 17 00:00:00 2001
From: Wo-ogie <siwall0105@gmail.com>
Date: Sat, 25 Nov 2023 13:07:12 +0900
Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B8=EC=A6=9D=20=EA=B6=8C=ED=95=9C?=
 =?UTF-8?q?=EC=9D=B4=20=EC=97=86=EC=9D=84=20=EA=B2=BD=EC=9A=B0=20'next=20i?=
 =?UTF-8?q?s=20not=20a=20function'=20=EC=97=90=EB=9F=AC=EA=B0=80=20?=
 =?UTF-8?q?=EB=B0=9C=EC=83=9D=ED=95=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?=
 =?UTF-8?q?=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 middlewares/auth.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/middlewares/auth.js b/middlewares/auth.js
index 81884a2..a8f3784 100644
--- a/middlewares/auth.js
+++ b/middlewares/auth.js
@@ -12,7 +12,7 @@ function parseParticipantData(req, res, next) {
 }
 
 exports.isAuthenticated = (req, res, next) => {
-  const participantData = parseParticipantData(req);
+  const participantData = parseParticipantData(req, res, next);
   if (participantData.meetingId !== req.params.meetingId) {
     const error = new Error('접근 권한이 없습니다.');
     error.status = 401;
-- 
GitLab