mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-16 16:47:31 -05:00
bugfix for tidal
This commit is contained in:
@@ -9,7 +9,7 @@ export interface RawArtist {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function parseArtist(raw: RawArtist): Artist {
|
export function parseArtist(raw: RawArtist): Artist {
|
||||||
const picturePath = raw.picture?.replace(/-/gm, '/')
|
const picturePath = raw?.picture?.replace(/-/gm, '/')
|
||||||
const artist: Artist = {
|
const artist: Artist = {
|
||||||
id: raw.id,
|
id: raw.id,
|
||||||
url: raw.url ?? `https://www.tidal.com/artist/${raw.id}`,
|
url: raw.url ?? `https://www.tidal.com/artist/${raw.id}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user