rename const

This commit is contained in:
polaris 2024-06-29 17:52:19 -04:00
parent f8786d1ad7
commit 9bc49af53c

View File

@ -65,7 +65,7 @@ export async function getSongsWithTitles(userId: number) {
});
// Extract unique musicIds from the fetched songs
const musicIds = songs
const chuniScorePlaylogMusicId = songs
.map((song) => song.musicId)
.filter((id) => id !== null) as number[];
@ -74,7 +74,7 @@ export async function getSongsWithTitles(userId: number) {
await artemis.chuni_static_music.findMany({
where: {
songId: {
in: musicIds,
in: chuniScorePlaylogMusicId,
},
},
select: {