From 8250f401f5264704521a1e67dde6484884a908d6 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 19 Oct 2023 14:23:09 -0700 Subject: [PATCH] fix: oops --- netlify/edge-functions/now-playing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }