Skip to content

Commit 1d4aaba

Browse files
authored
Merge pull request #213 from Nook-Book/develop
[DEPLOY]
2 parents 76a3454 + 43ec639 commit 1d4aaba

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

โ€Žsrc/main/java/com/nookbook/domain/user/application/FriendService.javaโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public ResponseEntity<?> updateFriendRequestStatus(UserPrincipal userPrincipal,
151151

152152

153153
// ํ…Œ์ŠคํŠธ์šฉ ์นœ๊ตฌ ์š”์ฒญ ์•Œ๋ฆผ ์ „์†ก
154+
@Transactional
154155
public ResponseEntity<?> testSendFriendRequest(UserPrincipal userPrincipal) {
155156
User user = validUserByUserId(userPrincipal.getId());
156157

โ€Žsrc/main/java/com/nookbook/domain/user/application/UserService.javaโ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ public ResponseEntity<?> checkUserExists(UserPrincipal userPrincipal) {
215215

216216
// ์‚ฌ์šฉ์ž๊ฐ€ ํšŒ์›๊ฐ€์ž…์„ ์™„๋ฃŒํ–ˆ๋Š”์ง€ ํ™•์ธ
217217
private boolean checkUserCompleteSignUpSteps(UserPrincipal userPrincipal) {
218-
// userPrincipal์ด null์ธ์ง€ ํ™•์ธ
219-
if (userPrincipal == null) {
220-
return false;
221-
}
222218
try {
223219
// ์œ ํšจํ•œ ์‚ฌ์šฉ์ž์ธ์ง€ ํ™•์ธ
224220
User user = validUserByUserId(userPrincipal.getId());

0 commit comments

Comments
ย (0)