Skip to content

Commit

Permalink
✨ GET /mail/:userId 요청을 처리하기 위한 라우터 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanHoLee275 committed Sep 23, 2021
1 parent acc3b7e commit b583c4a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions backend/src/routes/mail.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const {findUser, sendMail} = require('../services/mail/mail');
const express = require('express');
const router = express.Router();

router.get('/:userId',[findUser, sendMail]);

module.exports = router;

0 comments on commit b583c4a

Please sign in to comment.