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}`,