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

[FEAT] 모든 질답 완료 시 응답값 구분 #101

Merged
merged 4 commits into from
Aug 24, 2023

Conversation

jun02160
Copy link
Member

📌 관련 이슈

close #100

✨ 어떤 이유로 변경된 내용인지

  • 7일차까지 부모자식 모두 문답 완료 시, 엔딩이벤트로 넘어가도록 처리하기 위한 코드 일부 수정
  • index 값을 8로 반환 시 엔딩이벤트로 넘어가도록 구분

🙏 검토 혹은 리뷰어에게 남기고 싶은 말

@jun02160 jun02160 added 🔥 Pull Request PR 날림 예준🍒 🪄API 서버 API 통신 🔧Modify 코드 수정 (기능의 변화가 있을 때) labels Aug 24, 2023
@jun02160 jun02160 self-assigned this Aug 24, 2023
@@ -305,6 +305,12 @@ public GetMainViewResponseDto getMainInfo(Long userId) {
QnA lastQna = qnaList.get(parentchild.getCount()-1);
log.info("getCount(): {}", parentchild.getCount());

QnA currentQnA = parentchild.getQnaList().get(parentchild.getCount() - 1);
Copy link
Member

Choose a reason for hiding this comment

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

이부분 위에 있는 lastQna 재사용해도 문제 없을듯!
사실 lastQna라는 네이밍이 이제 보니 좀 이상해서
위에꺼를 currentQnA로 바꾼다음 재사용해도 괜찮을거같아!

Copy link
Member Author

Choose a reason for hiding this comment

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

헉 맞네 오케이 반영할게욥

@jun02160 jun02160 merged commit 698b641 into develop Aug 24, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
예준🍒 🪄API 서버 API 통신 🔧Modify 코드 수정 (기능의 변화가 있을 때) 🔥 Pull Request PR 날림
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FIX] 엔딩이벤트를 위한 로직 수정
2 participants