From 263879a573f19c7d938541c1cd1c8cd6fbf6d49e Mon Sep 17 00:00:00 2001 From: aria blue Date: Sat, 13 Apr 2024 13:11:41 -0400 Subject: [PATCH] bugfix for tidal --- src/streamers/tidal/parse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamers/tidal/parse.ts b/src/streamers/tidal/parse.ts index f2ea5bb..1469ae5 100644 --- a/src/streamers/tidal/parse.ts +++ b/src/streamers/tidal/parse.ts @@ -9,7 +9,7 @@ export interface RawArtist { } export function parseArtist(raw: RawArtist): Artist { - const picturePath = raw.picture?.replace(/-/gm, '/') + const picturePath = raw?.picture?.replace(/-/gm, '/') const artist: Artist = { id: raw.id, url: raw.url ?? `https://www.tidal.com/artist/${raw.id}`,