Skip to content

Commit

Permalink
Merge pull request #28 from GDSC-snowflowerthon/fix/openAPI-13
Browse files Browse the repository at this point in the history
[feat] 로그인 시 언어도 반환
  • Loading branch information
yunji118 authored Jan 11, 2024
2 parents f1dc108 + ecfe4ff commit 82e20cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ public class TokenResponseDto {
private String grantType;
private String jwtAccessToken;
private String jwtRefreshToken;
private String language;
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public TokenResponseDto login(LoginRequestDto requestDto){

return TokenResponseDto.builder()
.grantType("Bearer")
.language(user.getLanguage())
.jwtAccessToken(accessToken)
.jwtRefreshToken(refreshToken)
.build();
Expand Down

0 comments on commit 82e20cb

Please sign in to comment.