Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-08-18 22:35:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
96da687ec65b0c7990886fffc02e500762d745b5
96da687e
1 parent
003e874e
feat. code fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
server/src/api/doctor/doctor.ctrl.js
server/src/api/doctor/doctor.ctrl.js
View file @
96da687
...
...
@@ -33,7 +33,7 @@ exports.getDoctorsInfo = async ctx => {
return
;
}
const
doctorInfo
=
await
DoctorInfo
.
find
({
const
doctorInfo
=
await
DoctorInfo
.
find
One
({
doctorId
:
userId
,
useYn
:
'Y'
});
...
...
@@ -47,7 +47,7 @@ exports.getDoctorsInfo = async ctx => {
}
ctx
.
status
=
200
;
ctx
.
body
=
doctorInfo
;
ctx
.
body
=
doctorInfo
.
info
;
};
...
...
Please
register
or
login
to post a comment