Skip to content

Commit a20da0d

Browse files
committed
refactor: isLoggedIn 메소드 파라미터 수정으로 인한 인자 추가
1 parent 3cc1970 commit a20da0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/econo_4factorial/newproject/common/util/webSocket/WebSocketAuthService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void handleAuthEvent(Payload payload, WebSocketSession session) throws IO
3232

3333
private Long authenticateUser(Map<String, Object> data) throws IOException {
3434
Long userId = jwtTokenProvider.getUserIdFromAccessToken((String) data.get(AUTHORIZATION));
35-
authTokenService.isLoggedIn(userId);
35+
authTokenService.isLoggedIn(userId, (String) data.get(AUTHORIZATION));
3636
return userId;
3737
}
3838

0 commit comments

Comments
 (0)