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

fix: 참가자 존재 여부 조회 API가 동작하지 않는 문제 수정

parent 042878a9
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ exports.getParticipantExistence = async (req, res, next) => {
req.query.name,
);
return res.json({
exist: !!participant,
exists: !!participant,
});
} catch (error) {
return next(error);
......
......@@ -12,8 +12,8 @@ router.post('/', createParticipant);
router.get('/', getParticipantByName);
router.get('/:participantId', getParticipantById);
router.get('/existence', getParticipantExistence);
router.get('/:participantId', getParticipantById);
module.exports = router;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment