Skip to content

Commit d81e1ef

Browse files
authored
Update NoteService.java
1 parent 11824b9 commit d81e1ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/com/stocknote/domain/portfolio/note/service/NoteService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public List<Note> getNoteList(String email) {
9797
Member member = memberRepository.findByEmail(email)
9898
.orElseThrow(() -> new CustomException(ErrorCode.MEMBER_NOT_FOUND));
9999
List<Note> noteList = noteRepository.findByMemberId(member.getId());
100-
return noteRepository.findAll();
100+
return noteList;
101101
}
102102
public List<Note> getAllNoteList() {
103103
return noteRepository.findAll();

0 commit comments

Comments
 (0)