mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Fix minor bug in ConfigService array parsing
This commit is contained in:
@@ -38,7 +38,9 @@ class ConfigService(
|
||||
|
||||
val parsedValue =
|
||||
if (configProperty.type.java.isArray)
|
||||
if (appConfig?.value == null || appConfig.value.isEmpty())
|
||||
if (appConfig?.value == null)
|
||||
null
|
||||
else if (appConfig.value.isEmpty())
|
||||
emptyArray()
|
||||
else
|
||||
appConfig.value.split(",").toTypedArray()
|
||||
|
||||
Reference in New Issue
Block a user