mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Fix typo for cache size
This commit is contained in:
parent
4fed127e80
commit
ae49f0098a
|
@ -199,7 +199,7 @@ class MangaDexClient(private val settingsFile: File, databaseFolder: Path, cache
|
||||||
|
|
||||||
private fun validateSettings(settings: ClientSettings) {
|
private fun validateSettings(settings: ClientSettings) {
|
||||||
if (settings.maxCacheSizeInMebibytes < 40960) {
|
if (settings.maxCacheSizeInMebibytes < 40960) {
|
||||||
throw ClientSettingsException("Config Error: Invalid max cache size, must be >= 20480 MiB (20 GiB)")
|
throw ClientSettingsException("Config Error: Invalid max cache size, must be >= 40960 MiB (40 GiB)")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun isSecretValid(clientSecret: String): Boolean {
|
fun isSecretValid(clientSecret: String): Boolean {
|
||||||
|
|
Loading…
Reference in a new issue