Skip to content

Commit

Permalink
Merge pull request #7 from sen2y/features/header
Browse files Browse the repository at this point in the history
Dev : Features/ 로그인 시 응답 body에 닉네임 별도 전달
  • Loading branch information
sen2y authored Jun 27, 2024
2 parents ab1285a + 595581b commit 1badbb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/user/user.controller.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ exports.localLogin = async (req, res, next) => {
return sendResponse.ok(res, {
message: SucesssMessage.LOGIN_SUCCESSS,
token,
nickname: user.nickname,
});
})(req, res, next);
} catch (err) {
Expand Down Expand Up @@ -126,6 +127,7 @@ exports.kakaoLogin = async (req, res) => {
sendResponse.ok(res, {
message: SucesssMessage.LOGIN_SUCCESSS,
token,
nickname,
});
} catch (err) {
console.log(err);
Expand Down

0 comments on commit 1badbb9

Please sign in to comment.