Fix a problem about DeezerApiService

These changes fix a crash. This crash is for non international language integers like Persian.
This commit is contained in:
Matin Soleimani 2019-06-12 19:41:50 +04:30 committed by GitHub
parent 0aba8c06d6
commit 4f9c122476
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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