Skip to content

Commit

Permalink
fix: import java.util.Optional;
Browse files Browse the repository at this point in the history
  • Loading branch information
nyeJiiii authored Aug 3, 2023
1 parent 1dec7c0 commit 3ad1f55
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.security.Principal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Optional;

@RequiredArgsConstructor
@Service
Expand Down Expand Up @@ -58,4 +59,4 @@ public void updatePwd(UserRequest.ModifyPwdDTO request) {
}
userRepository.updateById(passwordEncoder.encode(request.getNewPassword()), LocalDateTime.now(), request.getUserId());
}
}
}

0 comments on commit 3ad1f55

Please sign in to comment.