Skip to content
New issue

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

Fix: 빈 배열과 모든 값이 0인 응답 구분 #130

Merged
merged 3 commits into from
Dec 2, 2023

Conversation

synoti21
Copy link
Contributor

@synoti21 synoti21 commented Dec 2, 2023

  • 현재 영양성분 합 배열이 빈 상태로 오는 응답과, 모든 값이 0으로 오는 응답을 프론트에서 구분이 불가함
  • 이를 위해 isEmpty 속성을 추가하여 구분하도록 수정

@synoti21 synoti21 added the fix 버그 및 오류 수정 label Dec 2, 2023
@synoti21 synoti21 requested a review from win-luck December 2, 2023 13:32
@synoti21 synoti21 self-assigned this Dec 2, 2023
@synoti21 synoti21 linked an issue Dec 2, 2023 that may be closed by this pull request
Copy link
Contributor

@win-luck win-luck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

@win-luck win-luck merged commit 3889aef into master Dec 2, 2023
1 check passed
@synoti21 synoti21 deleted the fix/129-food-is-empty branch December 3, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 버그 및 오류 수정
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix: 영양성분이 비어있는지 구분
2 participants