Skip to content

Commit

Permalink
Correctly handle case where a song has no credited artist
Browse files Browse the repository at this point in the history
  • Loading branch information
pfych committed Aug 17, 2024
1 parent 3dcb1dd commit 07b49bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database-seeds/scripts/rerunners/gitadora/parse-mdb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const PLAYTYPE_DIFFICULTY_MAP: (Playtypes["gitadora"] | null)[] = [

function buildSong(entry: Entry): SongDocument<"gitadora"> {
return {
artist: entry.artist_title_ascii["#text"],
artist: entry.artist_title_ascii["#text"] || "",
title: entry.title_name["#text"],
id: entry.music_id["#text"],
altTitles: [],
Expand Down

0 comments on commit 07b49bf

Please sign in to comment.