Skip to content

Commit

Permalink
Merge pull request #75 from Jhsysng/fix/folder
Browse files Browse the repository at this point in the history
!hotfix: fix folder list
  • Loading branch information
Jhsysng authored Apr 3, 2024
2 parents 6ad5521 + 1af4082 commit be4b292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 2024_BEOTKKOTTHON_TEAM_24_BE_ENV
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public Optional<List<FolderResponseDto>> getFolderList(Long userId) {
.select(folder.folderId, folder.folderName, folder.folderColor, insight.count())
.from(folder)
.leftJoin(folder.insightList, insight)
.where(folder.user.userId.eq(userId))
.groupBy(folder.folderId)
.orderBy(folder.folderId.asc())
.fetch()
Expand Down

0 comments on commit be4b292

Please sign in to comment.