forked from PolarisPyra/daphnis
rename const
This commit is contained in:
parent
f8786d1ad7
commit
9bc49af53c
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user