We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
선물이 없는 나중에 보내는 선물박스의 경우 getGift()에서 NPE가 발생하여 선물박스를 삭제하지 못하는 에러를 수정합니다.
if (giftBox.getGift().getGiftType().equals(GiftType.PHOTO)) { fileService.deleteFile(giftBox.getGift().getGiftUrl()); }
GiftBox 엔티티의 gift 필드를 Optional로 수정하는 작업은 변경되는 코드가 많으므로 우선 null check를 추가한 뒤, 추후 테스트 코드 커버리지가 높아진 후 작업하면 좋을 것 같습니다.
The text was updated successfully, but these errors were encountered:
leeeeeyeon
No branches or pull requests
💼 작업 설명
선물이 없는 나중에 보내는 선물박스의 경우 getGift()에서 NPE가 발생하여 선물박스를 삭제하지 못하는 에러를 수정합니다.
✅ To-do
GiftBox 엔티티의 gift 필드를 Optional로 수정하는 작업은 변경되는 코드가 많으므로 우선 null check를 추가한 뒤, 추후 테스트 코드 커버리지가 높아진 후 작업하면 좋을 것 같습니다.
The text was updated successfully, but these errors were encountered: