diff --git a/netlify/edge-functions/now-playing.js b/netlify/edge-functions/now-playing.js index 71ca7b27..544bff40 100644 --- a/netlify/edge-functions/now-playing.js +++ b/netlify/edge-functions/now-playing.js @@ -30,8 +30,8 @@ const aliasArtist = (artist) => { } const sanitizeTrack = (track) => { - if (track.includes(' [') return track.split(' [')[0] - if (track.includes(' (') return track.split(' (')[0] + if (track.includes(' [')) return track.split(' [')[0] + if (track.includes(' (')) return track.split(' (')[0] return track }