Skip to content

Commit

Permalink
Exclusive songs: do not consider videos
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthi-chaud authored Sep 11, 2024
1 parent e00d551 commit f2dfd69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/track/track.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export default class TrackService {
queryParameters = deepmerge<Prisma.TrackWhereInput>(
queryParameters,
{
type: "Audio",
song: {
group: {
versions: {
Expand All @@ -202,7 +203,9 @@ export default class TrackService {
OR: [
{
album: {
type: "Single",
type: {
not: "StudioRecording",
},
},
},
ReleaseService.formatWhereInput(
Expand Down

0 comments on commit f2dfd69

Please sign in to comment.