Skip to content

Commit

Permalink
[MERGE] Merge pull request #310 from GEON-PPANG/dev
Browse files Browse the repository at this point in the history
[MERGE] dev -> prod 머지
  • Loading branch information
sung-silver authored Mar 14, 2024
2 parents 67baab8 + fa12144 commit 66691e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<br><br>

## 🛠️ Architecture Structure
<img width="798" alt="image" src="https://github.com/GEON-PPANG/GEON-PPANG-SERVER/assets/89137120/30a727d6-4820-4067-818e-4d13945abcc2">
![건빵_아키텍쳐](https://github.com/GEON-PPANG/GEON-PPANG-SERVER/assets/89137120/cc12bdc2-97b4-4cba-bf54-b40ed45032b5)


<br><br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@RequiredArgsConstructor
Expand Down Expand Up @@ -98,6 +99,7 @@ public void reIssueTokensAndUpdateRefreshToken(HttpServletResponse response, Mem
}

/** GUEST였던 회원이 닉네임 변경하고 USER로 되었을 때 사용 */
@Transactional
public void reIssueTokensAndUpdateRefreshToken(HttpServletResponse response, Long memberId) {
Member foundMember =
memberRepository
Expand Down Expand Up @@ -235,6 +237,7 @@ public boolean isTokenExpired(String token) {
}
}

@Transactional
public void updateRefreshTokenByMemberId(Long memberId, String refreshToken) {
memberRepository
.findById(memberId)
Expand Down

0 comments on commit 66691e1

Please sign in to comment.