fix: Fixed null reference exception.

This commit is contained in:
real-zony committed 2022-09-22 17:53:19 +08:00
1 parent 140043db79
commit 85f325b300
1 file changed
+2 -2
@@ -70,8 +70,8 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric.NetEase
} }
return _lyricItemCollectionFactory.Build( return _lyricItemCollectionFactory.Build(
json.OriginalLyric.Text, json.OriginalLyric?.Text,
json.TranslationLyric.Text); json.TranslationLyric?.Text);
} }
protected virtual void ValidateSongSearchResponse(SongSearchResponse response, LyricDownloaderArgs args) protected virtual void ValidateSongSearchResponse(SongSearchResponse response, LyricDownloaderArgs args)