Skip to content
Snippets Groups Projects
Commit 44ba1e6c authored by Wo-ogie's avatar Wo-ogie
Browse files

fix: 인증 권한이 없을 경우 'next is not a function' 에러가 발생하는 문제 수정

parent 96c3b22c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment