Fix a problem about DeezerApiService

These changes fix a crash. This crash is for non international language integers like Persian.
main
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
1 changed files with 2 additions and 3 deletions

View File

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