mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Fixed: Add Validation for Import lists, Correct Language/Metadata profiles
This commit is contained in:
@@ -21,9 +21,9 @@ namespace Lidarr.Api.V1.Artist
|
||||
private Response Import()
|
||||
{
|
||||
var resource = Request.Body.FromJson<List<ArtistResource>>();
|
||||
var newArtist = resource.ToModel();
|
||||
var newArtists = resource.ToModel();
|
||||
|
||||
return _addArtistService.AddArtists(newArtist).ToResource().AsResponse();
|
||||
return _addArtistService.AddArtists(newArtists).ToResource().AsResponse();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user