Showing
1 changed file
with
2 additions
and
2 deletions
1 | const User = require('../../models/user'); | 1 | const User = require('../../models/user'); |
2 | const DoctorInfo = require('../../models/doctorInfo'); | 2 | const DoctorInfo = require('../../models/doctorInfo'); |
3 | const Profile = require('../../models/profile'); | 3 | const Profile = require('../../models/profile'); |
4 | +const jwt = require('jsonwebtoken'); | ||
4 | 5 | ||
5 | /** | 6 | /** |
6 | * 의사 회원가입을 요청한 회원 리스트를 확인한다. | 7 | * 의사 회원가입을 요청한 회원 리스트를 확인한다. |
... | @@ -24,8 +25,7 @@ exports.getDoctorRegReqList = async ctx => { | ... | @@ -24,8 +25,7 @@ exports.getDoctorRegReqList = async ctx => { |
24 | } | 25 | } |
25 | 26 | ||
26 | try { | 27 | try { |
27 | - const doctorRegReqList = await User.find({ | 28 | + const doctorRegReqList = await DoctorInfo.find({ |
28 | - userTypeCd : 'DOCTOR', | ||
29 | useYn : 'W', | 29 | useYn : 'W', |
30 | }); | 30 | }); |
31 | 31 | ... | ... |
-
Please register or login to post a comment