Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -155,7 +155,7 @@ exports.login = async(ctx) => { | ... | @@ -155,7 +155,7 @@ exports.login = async(ctx) => { |
155 | 155 | ||
156 | const user = await User.findByUserId(userId); | 156 | const user = await User.findByUserId(userId); |
157 | if(!user || !user.userTypeCd) { | 157 | if(!user || !user.userTypeCd) { |
158 | - ctx.stauts = 401; | 158 | + ctx.status = 401; |
159 | ctx.body = { | 159 | ctx.body = { |
160 | error : '존재하지 않는 회원입니다.', | 160 | error : '존재하지 않는 회원입니다.', |
161 | }; | 161 | }; | ... | ... |
-
Please register or login to post a comment