Merge pull request #383 from MatinSoleimani/patch-2

Fix a problem about DeezerApiService
main
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
1 changed files with 2 additions and 3 deletions

View File

@ -52,12 +52,11 @@ 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)
} }
} }
} }
} }