File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
MiniMediaMetadataAPI.Application/Services Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ public async Task<SearchTrackResponse> SearchTrack(
229229 Album = new SearchTrackAlbumEntity
230230 {
231231 Id = track . Release . ReleaseId . ToString ( ) ,
232- ArtistId = track . Release . Artists ? . FirstOrDefault ( ) ? . ArtistId . ToString ( ) ?? "0" ,
232+ ArtistId = track . Release . Artists ? . FirstOrDefault ( artist => artist . ArtistId == discogsArtistId ) ? . ArtistId . ToString ( ) ?? "0" ,
233233 Name = track . Release . Title ,
234234 Type = string . Empty ,
235235 ReleaseDate = track . Release . Released ,
@@ -258,7 +258,6 @@ public async Task<SearchTrackResponse> SearchTrack(
258258 return response ;
259259 }
260260
261-
262261 public async Task < SearchTrackResponse > SearchTrack (
263262 string id ,
264263 ProviderType provider )
You can’t perform that action at this time.
0 commit comments