Skip to content

Commit

Permalink
Update UserService.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
endermaru authored Jan 30, 2025
1 parent 65a68b0 commit 8eabe81
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ class UserService(
// @ManyToOne(fetch = FetchType.LAZY, optional = true)
// @JoinColumn(name = "ADMIN", nullable = true)
// @OnDelete(action = OnDeleteAction.SET_NULL
// TODO: UserRoleConflict 외의 별도의 Exception 정의가 필요
if (user.userRole != UserRole.NORMAL) {
throw UserRoleConflictException(
details = mapOf("userId" to user.id, "userRole" to user.userRole),
Expand Down

0 comments on commit 8eabe81

Please sign in to comment.