Merge pull request #383 from MatinSoleimani/patch-2

Fix a problem about DeezerApiService
This commit is contained in:
Hemanth S 2019-07-16 21:41:04 +05:30 committed by GitHub
commit 1136f57c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,8 +52,7 @@ interface DeezerApiService {
.addHeader("Cache-Control", .addHeader("Cache-Control",
String.format( String.format(
Locale.getDefault(), Locale.getDefault(),
"max-age=%d, max-stale=%d", "max-age=31536000, max-stale=31536000"
31536000, 31536000
) )
).build() ).build()
chain.proceed(modifiedRequest) chain.proceed(modifiedRequest)