Fix crashing on artist list

main
h4h13 2019-05-16 23:33:19 +05:30
commit 95ac5bdd97
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class LastFMRestClient {
private static Interceptor createCacheControlInterceptor() {
return chain -> {
Request modifiedRequest = chain.request().newBuilder()
.addHeader("Cache-Control", String.format("max-age=%d, max-stale=%d", 31536000, 31536000))
.addHeader("Cache-Control", String.format("max-age=31536000, max-stale=31536000"))
.build();
return chain.proceed(modifiedRequest);
};