Skip to content

Commit

Permalink
fix(#48): 지연 로딩 문제
Browse files Browse the repository at this point in the history
  • Loading branch information
lcomment committed Aug 23, 2023
1 parent 3793da1 commit 5b0cdc4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/com/najasin/domain/user/entity/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ public void updateLastUserType(UserType lastUserType) {
this.lastUserType = lastUserType;
}

@Transactional
public UserType getLastUserType() {
return lastUserType;
}


public List<SimpleGrantedAuthority> getRole() {
return role.stream()
Expand Down

0 comments on commit 5b0cdc4

Please sign in to comment.