mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-12 06:37:49 -05:00
bugfix for tidal
This commit is contained in:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user