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-21 18:28:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
60e1b4921f9aee0f528615e60d4cb0853f23ab4a
60e1b492
1 parent
0137e2d3
fix. syntax error
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server/src/api/auth/auth.ctrl.js
server/src/api/auth/auth.ctrl.js
View file @
60e1b49
...
...
@@ -155,7 +155,7 @@ exports.login = async(ctx) => {
const
user
=
await
User
.
findByUserId
(
userId
);
if
(
!
user
||
!
user
.
userTypeCd
)
{
ctx
.
sta
ut
s
=
401
;
ctx
.
sta
tu
s
=
401
;
ctx
.
body
=
{
error
:
'존재하지 않는 회원입니다.'
,
};
...
...
Please
register
or
login
to post a comment