Skip to content

Commit 2b3b79b

Browse files
committed
🔥 refactor: 사용하지 않는 변수명 삭제
1 parent 988e4ad commit 2b3b79b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main/java/io/f1/backend/global/security/util/SecurityUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static String getCurrentUserNickname() {
4747
public static Role getCurrentUserRole() {
4848
Authentication authentication = getAuthentication();
4949
if (authentication != null
50-
&& authentication.getPrincipal() instanceof UserPrincipal userPrincipal) {
50+
&& authentication.getPrincipal() instanceof UserPrincipal) {
5151
return Role.USER;
5252
}
5353
return Role.ADMIN;

0 commit comments

Comments
 (0)