Updated libraries.
This commit is contained in:
parent
34f8ffbaf2
commit
373bba9e98
4 changed files with 39 additions and 43 deletions
|
|
@ -51,7 +51,7 @@ public class ArtistImageFetcher implements DataFetcher<InputStream> {
|
|||
if (!MusicUtil.isArtistNameUnknown(model.artistName) && Util.isAllowedToAutoDownload(context)) {
|
||||
Response<LastFmArtist> response = lastFMRestClient.getApiService().getArtistInfo(model.artistName, model.skipOkHttpCache ? "no-cache" : null).execute();
|
||||
|
||||
if (!response.isSuccess()) {
|
||||
if (!response.isSuccessful()) {
|
||||
throw new IOException("Request failed with code: " + response.code());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue