Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -132,7 +132,12 @@ exports.getMyDoctorList = async ctx => { | ... | @@ -132,7 +132,12 @@ exports.getMyDoctorList = async ctx => { |
132 | useYn : 'Y', | 132 | useYn : 'Y', |
133 | }); | 133 | }); |
134 | 134 | ||
135 | - return doctorInfo ? doctorInfo.info : null; | 135 | + if (doctorInfo) { |
136 | + return ({ | ||
137 | + ...doctorInfo.info, | ||
138 | + doctorId : doctorInfo.doctorId, | ||
139 | + }) | ||
140 | + } | ||
136 | })); | 141 | })); |
137 | 142 | ||
138 | ctx.status = 200; | 143 | ctx.status = 200; | ... | ... |
-
Please register or login to post a comment