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] 전체 씨앗 리스트 조회 API #56

Merged
merged 3 commits into from
Jan 4, 2024

Conversation

yeseul106
Copy link
Member

📣 Related Issue

📝 Summary

  • 메인 뷰 -> 모든 보관함의 씨앗 리스트를 조회하는 API를 개발했습니다.
image

🙏 Question & PR point

📬 Reference

Comment on lines 93 to 98
public List<SeedListGetResponseDto> getSeedList() {
return seedRepository.findAllByOrderByIdDesc().stream()
.map(seed -> SeedListGetResponseDto.of(seed.getId(), seed.getInsight(), calculateRemainingDays(seed.getLockDate()),
seed.getIsLocked(), seed.getIsScraped(), checkHasActionPlan(seed)))
.collect(Collectors.toList());
}
Copy link
Contributor

Choose a reason for hiding this comment

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

혹시 이거 돌리면 해당 유저의 씨앗 목록만 조회되는 것이 맞을까요??

Copy link
Member Author

Choose a reason for hiding this comment

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

아 맞네요 ?! 대박 이부분 수정하겠습니다 !

Copy link
Contributor

@Hong0329 Hong0329 left a comment

Choose a reason for hiding this comment

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

고생하셨습니당!

@yeseul106 yeseul106 merged commit 2d112f0 into develop Jan 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 전체 인사이트 리스트 조회 API
2 participants