Skip to content

Commit a657e83

Browse files
committed
fix(PlaylistService): 곡 순서 보장되도록 수정
1 parent 8efc378 commit a657e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main-server/src/main/java/com/example/demo/domain/playlist/service/PlaylistSaveService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public PlaylistWithSongsResponse editPlaylistWithSongs(
9191

9292
// 3) 응답
9393
List<SongResponseDto> songDtos = songRepository
94-
.findByPlaylistId(playlistId)
94+
.findSongsByPlaylistId(playlistId)
9595
.stream()
9696
.map(SongMapper::toDto)
9797
.toList();

0 commit comments

Comments
 (0)